diff --git a/hosts/desktopnix/fs.nix b/hosts/desktopnix/fs.nix index e485350..53d679e 100644 --- a/hosts/desktopnix/fs.nix +++ b/hosts/desktopnix/fs.nix @@ -43,6 +43,7 @@ }; }; fileSystems."/state".neededForBoot = true; + fileSystems."/persist".neededForBoot = true; fileSystems."/panzer/state".neededForBoot = true; boot.initrd.luks.devices.enc-rpool.allowDiscards = true; boot.initrd.luks.devices.enc-panzer.allowDiscards = true; diff --git a/modules/config/system.nix b/modules/config/system.nix index bfd528d..02dd798 100644 --- a/modules/config/system.nix +++ b/modules/config/system.nix @@ -61,6 +61,8 @@ nvd ]; + boot.binfmt.emulatedSystems = ["aarch64-linux"]; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; secrets.secretFiles = let diff --git a/users/common/programs/minecraft.nix b/users/common/programs/minecraft.nix new file mode 100644 index 0000000..c77fd56 --- /dev/null +++ b/users/common/programs/minecraft.nix @@ -0,0 +1,8 @@ +{pkgs, ...}: { + home.persistence."/persist".directories = [ + ".local/share/PrismLauncher" + ]; + home.packages = [ + pkgs.prismlauncher + ]; +} diff --git a/users/patrick/default.nix b/users/patrick/default.nix index 3d13f01..a630d77 100644 --- a/users/patrick/default.nix +++ b/users/patrick/default.nix @@ -59,6 +59,7 @@ lib.optionalAttrs (!minimal) { ../common/programs/kitty.nix ../common/programs/thunderbird.nix ../common/programs/spicetify.nix + ../common/programs/minecraft.nix ] ++ { "desktopnix" = [