diff --git a/flake.lock b/flake.lock index f82dbfb..aa4424a 100644 --- a/flake.lock +++ b/flake.lock @@ -18,11 +18,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1776949098, - "narHash": "sha256-rqp4XGkcirU3dlcvJiFhxmQuwV1E6UzDpElB8/2qqZ0=", + "lastModified": 1777107568, + "narHash": "sha256-x+BBoim5p3dnPCeOrWp5V5IR09YzG3bPD0g60jsyvy4=", "owner": "mrshmllow", "repo": "affinity-nix", - "rev": "9989df33b2aa6ad66441a2c83b817652754d8705", + "rev": "63978027513e2bafbf8c3acd7b05cb9b0ed24a03", "type": "github" }, "original": { @@ -201,11 +201,11 @@ }, "locked": { "dir": "pkgs/firefox-addons", - "lastModified": 1776916994, - "narHash": "sha256-FgqUwRZ2bwbE5w1bCUv9MB3gvwqZ4oEyCgZ6z/6jdTY=", + "lastModified": 1777089773, + "narHash": "sha256-ZIlNuebeWTncyl7mcV9VbceSLAaZki+UeXLPQG959xI=", "owner": "rycee", "repo": "nur-expressions", - "rev": "a2236006e5c70e2fc06e9acb016b1ac9c0fd5935", + "rev": "402ba229617a12d918c2a887a4c83a9a24f9a36c", "type": "gitlab" }, "original": { @@ -403,11 +403,11 @@ ] }, "locked": { - "lastModified": 1776964438, - "narHash": "sha256-AF0cby9Xuijr5qaFpYKbm1mExV956Hk233bel6QxpFw=", + "lastModified": 1777138498, + "narHash": "sha256-mZdL0akv+PiA9h4DXNVGCqUeV5NiODy5lzRWoDsYhtI=", "owner": "nix-community", "repo": "home-manager", - "rev": "e09259dd2e147d35ef889784b51e89b0a10ffe15", + "rev": "026e21038902970e54226133e718e8c197fac799", "type": "github" }, "original": { @@ -476,11 +476,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1776548001, - "narHash": "sha256-ZSK0NL4a1BwVbbTBoSnWgbJy9HeZFXLYQizjb2DPF24=", + "lastModified": 1776877367, + "narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "b12141ef619e0a9c1c84dc8c684040326f27cdcc", + "rev": "0726a0ecb6d4e08f6adced58726b95db924cef57", "type": "github" }, "original": { @@ -529,11 +529,11 @@ "noctalia-qs": "noctalia-qs" }, "locked": { - "lastModified": 1776888984, - "narHash": "sha256-Up2F/eoMuPUsZnPVYdH5TMHe1TBP2Ue1QuWd0vWZoxY=", + "lastModified": 1777079905, + "narHash": "sha256-TvYEXwkZnRFQRuFyyqTNSfPnU2tMdhtiBOXSk2AWLJA=", "owner": "noctalia-dev", "repo": "noctalia-shell", - "rev": "2c1808f9f8937fc0b82c54af513f7620fec56d71", + "rev": "a50c92167c8d438000270f7eca36f6eea74f388e", "type": "github" }, "original": { diff --git a/hosts/Garand-Desktop/home-modules.nix b/hosts/Garand-Desktop/home-modules.nix index 046205c..89a6d6b 100644 --- a/hosts/Garand-Desktop/home-modules.nix +++ b/hosts/Garand-Desktop/home-modules.nix @@ -18,6 +18,7 @@ _: { System utilities */ btop.enable = true; # Btop: a resource monitor for the terminal + easyeffects.enable = true; # EasyEffects: Audio effects for PipeWire applications cava.enable = false; # Cava: terminal audio visualizer fastfetch.enable = true; # Fastfetch: a fast system information tool diff --git a/hosts/Garand-Laptop/hardware.nix b/hosts/Garand-Laptop/hardware.nix index 9a9ca3f..09a8ea3 100644 --- a/hosts/Garand-Laptop/hardware.nix +++ b/hosts/Garand-Laptop/hardware.nix @@ -61,5 +61,8 @@ # networking.interfaces.wlp2s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + hardware = { + # amdgpu.opencl.enable = true; + cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + }; } diff --git a/hosts/Garand-Laptop/home-modules.nix b/hosts/Garand-Laptop/home-modules.nix index ddfd183..6af1138 100644 --- a/hosts/Garand-Laptop/home-modules.nix +++ b/hosts/Garand-Laptop/home-modules.nix @@ -18,6 +18,7 @@ _: { System utilities */ btop.enable = true; # Btop: a resource monitor for the terminal + easyeffects.enable = true; # EasyEffects: Audio effects for PipeWire applications cava.enable = false; # Cava: terminal audio visualizer fastfetch.enable = true; # Fastfetch: a fast system information tool diff --git a/hosts/default/home-modules.nix b/hosts/default/home-modules.nix index dda1a64..3667c7a 100644 --- a/hosts/default/home-modules.nix +++ b/hosts/default/home-modules.nix @@ -18,6 +18,7 @@ _: { System utilities */ btop.enable = true; # Btop: a resource monitor for the terminal + easyeffects.enable = true; # EasyEffects: Audio effects for PipeWire applications cava.enable = false; # Cava: terminal audio visualizer fastfetch.enable = true; # Fastfetch: a fast system information tool diff --git a/modules/home/default.nix b/modules/home/default.nix index e145da3..c1a44a1 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -15,6 +15,7 @@ _: { ./bat.nix ./btop.nix ./cava.nix + ./easyeffects.nix ./emoji.nix ./eza.nix ./fzf.nix diff --git a/modules/home/easyeffects.nix b/modules/home/easyeffects.nix new file mode 100644 index 0000000..8157788 --- /dev/null +++ b/modules/home/easyeffects.nix @@ -0,0 +1,95 @@ +{ + pkgs, + lib, + config, + ... +}: { + options.easyeffects.enable = lib.mkEnableOption "Easy Effects"; + + config.services.easyeffects = lib.mkIf config.easyeffects.enable { + enable = true; + package = pkgs.easyeffects; + + preset = "Default"; + extraPresets."Default".input = { + blocklist = []; + "deepfilternet#0" = { + attenuation-limit = 100.0; + bypass = false; + input-gain = 0.0; + max-df-processing-threshol = 20.0; + max-erb-processing-threshold = 30.0; + min-processing-buffer = 0; + min-processing-threshold = -10.0; + output-gain = 0.0; + post-filter-beta = 0.019999999552965164; + }; + "exciter#0" = { + amount = 0.0; + blend = 0.0; + bypass = false; + ceil = 16000.0; + ceil-active = false; + harmonics = 8.5; + input-gain = 0.0; + output-gain = 0.0; + scope = 7500.0; + }; + plugins_order = [ + "rnnoise#0" + "deepfilternet#0" + "speex#0" + "exciter#0" + "stereo_tools#0" + ]; + "rnnoise#0" = { + bypass = false; + enable-vad = true; + input-gain = 5.0; + model-name = "\"\""; + output-gain = -5.0; + release = 20.0; + use-standard-model = true; + vad-thres = 50.0; + wet = 0.0; + }; + "speex#0" = { + bypass = true; + enable-agc = true; + enable-denoise = true; + enable-dereverb = true; + input-gain = 0.0; + noise-suppression = -70; + output-gain = 0.0; + vad = { + enable = true; + probability-continue = 90; + probability-start = 95; + }; + }; + "stereo_tools#0" = { + balance-in = 0.0; + balance-out = 0.0; + bypass = false; + delay = 0.0; + dry = -100.0; + input-gain = 0.0; + middle-level = 0.0; + middle-panorama = 0.0; + mode = "LR > L+R (Mono Sum L+R)"; + mutel = false; + muter = false; + output-gain = 0.0; + phasel = false; + phaser = false; + sc-level = 1.0; + side-balance = 0.0; + side-level = 0.0; + softclip = true; + stereo-base = 0.0; + stereo-phase = 0.0; + wet = 0.0; + }; + }; + }; +} diff --git a/modules/home/noctalia/plugins.nix b/modules/home/noctalia/plugins.nix index 7636392..c06d7b3 100644 --- a/modules/home/noctalia/plugins.nix +++ b/modules/home/noctalia/plugins.nix @@ -61,7 +61,7 @@ in { colorRange = "full"; showCursor = true; copyToClipboard = false; - audioSource = "default_output"; + audioSource = "both"; videoSource = "portal"; resolution = "1920x1080"; replayEnabled = true; diff --git a/modules/home/noctalia/settings/bar/widgets/right.nix b/modules/home/noctalia/settings/bar/widgets/right.nix index 4d5d06d..c826de1 100644 --- a/modules/home/noctalia/settings/bar/widgets/right.nix +++ b/modules/home/noctalia/settings/bar/widgets/right.nix @@ -4,6 +4,7 @@ id = "Tray"; blacklist = [ "nm-applet" + "Easy Effects" ]; colorizeIcons = false; drawerEnabled = false; @@ -58,7 +59,7 @@ colorRange = "full"; showCursor = true; copyToClipboard = false; - audioSource = "default_output"; + audioSource = "both"; videoSource = "portal"; resolution = "1920x1080"; replayEnabled = true;