From ca4181f3d7b24118608a8dcaaaa0e814295779d4 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Sun, 31 Mar 2024 18:59:35 +1300 Subject: [PATCH 1/3] feat(mako): add urgency --- home/modules/desktop/wayland/notification/mako/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/home/modules/desktop/wayland/notification/mako/default.nix b/home/modules/desktop/wayland/notification/mako/default.nix index 27b5862..b9e3334 100644 --- a/home/modules/desktop/wayland/notification/mako/default.nix +++ b/home/modules/desktop/wayland/notification/mako/default.nix @@ -26,11 +26,12 @@ in { padding=3,3 width=100 height=100 - [app-name="bat-notify"] + [urgency=critical] padding=3,3 width=100 height=100 anchor=top-center + border-color=${colors.base08} ''; }; }; From 9f65c5c4a01c4a7c30e09685e63a22579f2ff494 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Sun, 31 Mar 2024 19:54:24 +1300 Subject: [PATCH 2/3] feat(amd): add initial amd gpu module --- system/profiles/amd/default.nix | 29 +++++++++++++++++++++++++++++ system/profiles/default.nix | 4 ++++ 2 files changed, 33 insertions(+) create mode 100644 system/profiles/amd/default.nix diff --git a/system/profiles/amd/default.nix b/system/profiles/amd/default.nix new file mode 100644 index 0000000..77a32f7 --- /dev/null +++ b/system/profiles/amd/default.nix @@ -0,0 +1,29 @@ +{ lib, config, pkgs, ... }: + +let + cfg = config.systemProfile.amd; +in + +{ + config = lib.mkIf cfg.enable { + + hardware.opengl = { + extraPackages = with pkgs; [ + vulkan-tools + vulkan-loader + vulkan-extension-layer + vulkan-validation-layer + amdvlk + mesa + ]; + extraPackages32 = [ pkgs.driversi686Linux.amdvlk ]; + }; + + boot = { + initrd.kernelModules = ["amdgpu"]; + kernelModules = ["amdgpu"]; + }; + + environment.systemPackages = [ pkgs.nvtopPackages.amd ]; + }; +} diff --git a/system/profiles/default.nix b/system/profiles/default.nix index a38f82b..ed2187f 100644 --- a/system/profiles/default.nix +++ b/system/profiles/default.nix @@ -13,6 +13,7 @@ in ./gaming ./laptop ./mediaServer + ./amd ]; options = { @@ -34,6 +35,9 @@ in nvidia = { enable = lib.mkEnableOption "Enable the nvidia profile"; }; + amd = { + enable = lib.mkEnableOption "Enable the amd profile"; + }; mediaServer = { enable = lib.mkEnableOption "Enable the mediaServer profile"; }; From 0146e0439603805a5e5a79190553febf76662d83 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Mon, 1 Apr 2024 00:40:52 +1300 Subject: [PATCH 3/3] refactor(lf): rename terminal file manager environment variable --- home/modules/console/fileManager/lf/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/modules/console/fileManager/lf/default.nix b/home/modules/console/fileManager/lf/default.nix index fdad615..1dbdbf3 100644 --- a/home/modules/console/fileManager/lf/default.nix +++ b/home/modules/console/fileManager/lf/default.nix @@ -9,7 +9,7 @@ in { config = lib.mkIf cfg.enable { - home.sessionVariables.TERMFILEMANAGER = lib.mkIf cfg.default "lf"; + home.sessionVariables.FILEMANAGER = lib.mkIf cfg.default "lf"; xdg.configFile."lf/icons".source = ./icons;