feat: added minecraft support
feat: added binfmt for aarch64
This commit is contained in:
parent
950a972915
commit
d40df714fd
|
@ -43,6 +43,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
fileSystems."/state".neededForBoot = true;
|
fileSystems."/state".neededForBoot = true;
|
||||||
|
fileSystems."/persist".neededForBoot = true;
|
||||||
fileSystems."/panzer/state".neededForBoot = true;
|
fileSystems."/panzer/state".neededForBoot = true;
|
||||||
boot.initrd.luks.devices.enc-rpool.allowDiscards = true;
|
boot.initrd.luks.devices.enc-rpool.allowDiscards = true;
|
||||||
boot.initrd.luks.devices.enc-panzer.allowDiscards = true;
|
boot.initrd.luks.devices.enc-panzer.allowDiscards = true;
|
||||||
|
|
|
@ -61,6 +61,8 @@
|
||||||
nvd
|
nvd
|
||||||
];
|
];
|
||||||
|
|
||||||
|
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||||
|
|
||||||
secrets.secretFiles = let
|
secrets.secretFiles = let
|
||||||
|
|
8
users/common/programs/minecraft.nix
Normal file
8
users/common/programs/minecraft.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
home.persistence."/persist".directories = [
|
||||||
|
".local/share/PrismLauncher"
|
||||||
|
];
|
||||||
|
home.packages = [
|
||||||
|
pkgs.prismlauncher
|
||||||
|
];
|
||||||
|
}
|
|
@ -59,6 +59,7 @@ lib.optionalAttrs (!minimal) {
|
||||||
../common/programs/kitty.nix
|
../common/programs/kitty.nix
|
||||||
../common/programs/thunderbird.nix
|
../common/programs/thunderbird.nix
|
||||||
../common/programs/spicetify.nix
|
../common/programs/spicetify.nix
|
||||||
|
../common/programs/minecraft.nix
|
||||||
]
|
]
|
||||||
++ {
|
++ {
|
||||||
"desktopnix" = [
|
"desktopnix" = [
|
||||||
|
|
Loading…
Reference in a new issue