This commit is contained in:
2025-02-10 20:33:33 -05:00
parent 508a3ccc9b
commit 2b66f1a774
17 changed files with 191 additions and 114 deletions

View File

@@ -17,6 +17,7 @@
inputs.agenix.nixosModules.default
inputs.nixos-hardware.nixosModules.common-pc-ssd
inputs.chaotic.nixosModules.default
inputs.disko.nixosModules.disko
];
nixpkgs.config.allowUnfreePredicate =
@@ -48,8 +49,8 @@
# kernel options
boot = {
kernelPackages = pkgs.linuxPackages_cachyos-lto;
# kernelPackages = pkgs.linuxPackages_latest;
# kernelPackages = pkgs.linuxPackages_cachyos-lto;
kernelPackages = pkgs.linuxPackages_latest;
kernel.sysctl = {
# dmesg shushhhhh
@@ -167,9 +168,9 @@
pulse.enable = true;
};
age.secrets.primary-password = {
file = ./secrets/primary-password.age;
path = "/etc/secrets/primary-password";
age.secrets.password-hash = {
file = ./secrets/password-hash.age;
path = "/tmp/password-hash-secret";
};
# Define my user account (the rest of the configuration if found in `~/.config/home-manager/...`)
@@ -182,7 +183,7 @@
"camera"
"adbusers"
];
hashedPasswordFile = config.age.secrets.primary-password.path;
hashedPasswordFile = config.age.secrets.password-hash.path;
};
services.gvfs.enable = true;
@@ -224,6 +225,9 @@
libmtp
man-pages
man-pages-posix
# https://github.com/chaotic-cx/nyx/issues/972
# config.boot.kernelPackages.perf
];
# wayland with electron/chromium applications
@@ -246,5 +250,4 @@
documentation.enable = true;
documentation.man.enable = true;
documentation.dev.enable = true;
}