diff --git a/hosts/artemis/hardware-configuration.nix b/hosts/artemis/hardware-configuration.nix index dffed6d..9c52ad5 100644 --- a/hosts/artemis/hardware-configuration.nix +++ b/hosts/artemis/hardware-configuration.nix @@ -68,8 +68,9 @@ in "amdgpu.sched_hw_submission=4" "audit=0" ]; - kernelPackages = pkgs.linuxPackages_6_17; + kernelPackages = pkgs.linuxPackages_6_18; supportedFilesystems = [ "ntfs" ]; + zfs.package = pkgs.zfs_2_4; }; hardware = { diff --git a/modules/nixos/impermanence.nix b/modules/nixos/impermanence.nix index bd05a44..414a527 100644 --- a/modules/nixos/impermanence.nix +++ b/modules/nixos/impermanence.nix @@ -6,15 +6,8 @@ }: let inherit (lib) - attrNames - flip - isAttrs - mapAttrs mkIf - mkMerge - mkOption optionals - types ; in { @@ -88,60 +81,4 @@ in }; users.mutableUsers = !config.environment.persistence."/persist".enable; - - # For each user that has a home-manager config, merge the locally defined - # persistence options that we defined above. - imports = - let - mkUserFiles = map ( - x: { parentDirectory.mode = "700"; } // (if isAttrs x then x else { file = x; }) - ); - mkUserDirs = map (x: { mode = "700"; } // (if isAttrs x then x else { directory = x; })); - in - [ - { - environment.persistence = mkMerge ( - flip map (attrNames config.home-manager.users) ( - user: - let - hmUserCfg = config.home-manager.users.${user}; - in - flip mapAttrs hmUserCfg.home.persistence ( - _: sourceCfg: { - users.${user} = { - files = mkUserFiles sourceCfg.files; - directories = mkUserDirs sourceCfg.directories; - }; - } - ) - ) - ); - } - ]; - - home-manager.sharedModules = [ - { - options.home.persistence = mkOption { - description = "Additional persistence config for the given source path"; - default = { }; - type = types.attrsOf ( - types.submodule { - options = { - files = mkOption { - description = "Additional files to persist via NixOS impermanence."; - type = types.listOf (types.either types.attrs types.str); - default = [ ]; - }; - - directories = mkOption { - description = "Additional directories to persist via NixOS impermanence."; - type = types.listOf (types.either types.attrs types.str); - default = [ ]; - }; - }; - } - ); - }; - } - ]; } diff --git a/users/guest/default.nix b/users/guest/default.nix index d11fb3f..8323cb0 100644 --- a/users/guest/default.nix +++ b/users/guest/default.nix @@ -160,7 +160,7 @@ in enable = true; settings = { default_session = { - command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --sessions ${desktops}/share/xsessions:${desktops}/share/wayland-sessions"; + command = "${pkgs.tuigreet}/bin/tuigreet --time --sessions ${desktops}/share/xsessions:${desktops}/share/wayland-sessions"; }; }; }; diff --git a/users/jordan/common/optional/graphical/niri.nix b/users/jordan/common/optional/graphical/niri.nix index 24d4546..de3d919 100644 --- a/users/jordan/common/optional/graphical/niri.nix +++ b/users/jordan/common/optional/graphical/niri.nix @@ -196,9 +196,9 @@ in "Mod+y".action = toggle-column-tabbed-display; - "Print".action = screenshot; - "Ctrl+Print".action = screenshot-screen { }; - "Alt+Print".action = screenshot-window; + # "Print".action = screenshot; + # "Ctrl+Print".action = screenshot-screen { }; + # "Alt+Print".action = screenshot-window; "Mod+Escape" = { action = toggle-keyboard-shortcuts-inhibit;