From dde87872384ee16be992ac11b8a013700004550e Mon Sep 17 00:00:00 2001 From: cnst Date: Mon, 5 Aug 2024 20:11:58 +0200 Subject: [PATCH] hardware settings --- flake.lock | 26 +++++++++++----------- home/bin/hyprland/cnst/cfg/rules.nix | 1 + home/usr/share/shell/adam/default.nix | 2 +- home/usr/share/shell/toothpick/default.nix | 2 +- hosts/adampad/hardware-configuration.nix | 2 +- hosts/cnix/hardware-configuration.nix | 2 +- system/default.nix | 2 +- 7 files changed, 19 insertions(+), 18 deletions(-) diff --git a/flake.lock b/flake.lock index c0751ebd..db5fc8f1 100644 --- a/flake.lock +++ b/flake.lock @@ -208,11 +208,11 @@ ] }, "locked": { - "lastModified": 1722777453, - "narHash": "sha256-HaVYqwfPuMqb1k8WHLH/0YGRr4P281jTD2vemjOWQNQ=", + "lastModified": 1722860994, + "narHash": "sha256-k2IT4qXy3E/mB2yPtWcj981knzLkM5pg+QhpbAB3XtE=", "owner": "nix-community", "repo": "flake-firefox-nightly", - "rev": "3e3c59e1bf88fb018a468fc59920d12bc1daa626", + "rev": "f31f964e8c20dccda2095ff073a0afc06b34a52d", "type": "github" }, "original": { @@ -626,11 +626,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1722773977, - "narHash": "sha256-AqSmHptledo4Tp+hrHWovGR+e//bejR458sRmhq+jT4=", + "lastModified": 1722800434, + "narHash": "sha256-0lvzOT3dQWlQ+zyOAhKTxFd9BWZw380ILDNpoGdtekA=", "ref": "refs/heads/main", - "rev": "5dd2c27b631f16e49a2c6e6cbbefba9fa50bf543", - "revCount": 5050, + "rev": "2b520571e897be2a0e88c8692da607b062000038", + "revCount": 5051, "submodules": true, "type": "git", "url": "https://github.com/hyprwm/Hyprland" @@ -837,11 +837,11 @@ "nixpkgs": "nixpkgs_5" }, "locked": { - "lastModified": 1722781268, - "narHash": "sha256-uJQUMZtnowYH6ZbizNhGH/t6H7N5Q3m5pG4hf/0WMh8=", + "lastModified": 1722846822, + "narHash": "sha256-/6q7oH3ahod5BVW93s6ABZTrPC/mUjjjMJAxcqam1gs=", "owner": "NotAShelf", "repo": "microfetch", - "rev": "482ffe96cd92c14304723f91f723a9fa6670fe71", + "rev": "927f6077b4b78cd112bc6932aab5287edc413ce8", "type": "github" }, "original": { @@ -1075,11 +1075,11 @@ "treefmt-nix": "treefmt-nix" }, "locked": { - "lastModified": 1722763580, - "narHash": "sha256-LgYIYkNYzqCldWJ/xJRQ156WDp6P9hHb4EsIXsRa+u4=", + "lastModified": 1722857280, + "narHash": "sha256-b5Bal3cElLrS9UtDN81ljQpOsbqBe/7CdWlTKhlswus=", "owner": "nix-community", "repo": "nixvim", - "rev": "6f7cf23b226ceaee0a2d479c505652065dfe526f", + "rev": "5922a48008e5759acb63a12b2de8348ec512760f", "type": "github" }, "original": { diff --git a/home/bin/hyprland/cnst/cfg/rules.nix b/home/bin/hyprland/cnst/cfg/rules.nix index dfdffebf..1bf709c4 100644 --- a/home/bin/hyprland/cnst/cfg/rules.nix +++ b/home/bin/hyprland/cnst/cfg/rules.nix @@ -32,6 +32,7 @@ "float,class:^(cnst.test)$" "float,class:^(org.corectrl.CoreCtrl)$" "float,class:^(feh)$" + "float,class:^(com.example.gtk-adieux)$" ]; windowrule = [ "center, ^(xarchiver)$" diff --git a/home/usr/share/shell/adam/default.nix b/home/usr/share/shell/adam/default.nix index 81de9c1b..ee12b086 100644 --- a/home/usr/share/shell/adam/default.nix +++ b/home/usr/share/shell/adam/default.nix @@ -54,7 +54,7 @@ ZSH_THEME_VIRTUALENV_SUFFIX=$ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=241' - + microfetch ''; }; } diff --git a/home/usr/share/shell/toothpick/default.nix b/home/usr/share/shell/toothpick/default.nix index d9d199ab..b734f5da 100644 --- a/home/usr/share/shell/toothpick/default.nix +++ b/home/usr/share/shell/toothpick/default.nix @@ -54,7 +54,7 @@ ZSH_THEME_VIRTUALENV_SUFFIX=$ZSH_THEME_VIRTUAL_ENV_PROMPT_SUFFIX ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=241' - + microfetch ''; }; } diff --git a/hosts/adampad/hardware-configuration.nix b/hosts/adampad/hardware-configuration.nix index 80bd371f..7d47ae01 100644 --- a/hosts/adampad/hardware-configuration.nix +++ b/hosts/adampad/hardware-configuration.nix @@ -18,7 +18,7 @@ "usb_storage" "sd_mod" ]; - kernelModules = ["kvm-amd"]; + kernelModules = ["amdgpu"]; }; kernelModules = ["kvm-amd"]; diff --git a/hosts/cnix/hardware-configuration.nix b/hosts/cnix/hardware-configuration.nix index fe204050..b9c6e6e2 100644 --- a/hosts/cnix/hardware-configuration.nix +++ b/hosts/cnix/hardware-configuration.nix @@ -18,7 +18,7 @@ "usb_storage" "sd_mod" ]; - kernelModules = ["kvm-amd"]; + kernelModules = ["amdgpu"]; }; kernelModules = ["kvm-amd"]; diff --git a/system/default.nix b/system/default.nix index 3296edf0..496dca9f 100644 --- a/system/default.nix +++ b/system/default.nix @@ -6,6 +6,7 @@ let ./nix ./srv ./usr/share + ./opt/microfetch ]; adampad = @@ -20,7 +21,6 @@ let ./opt/gaming.nix ./opt/android ./opt/agenix - ./opt/microfetch ./opt/gimp ./opt/inkscape ./srv/blueman