Mount steam
This commit is contained in:
parent
357866e46b
commit
0e4c25aa67
2 changed files with 18 additions and 1 deletions
|
@ -331,7 +331,12 @@ in
|
||||||
# DConf for GNOME configurations
|
# DConf for GNOME configurations
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
# Gaming! (not for ARM64)
|
# Gaming! (not for ARM64)
|
||||||
programs.steam.enable = !pkgs.stdenv.isAarch64;
|
programs.steam.enable = true;
|
||||||
|
programs.gamescope = {
|
||||||
|
enable = true;
|
||||||
|
# capSysNice = true; # https://github.com/NixOS/nixpkgs/issues/351516
|
||||||
|
args = [ "--adaptive-sync" "--rt" ];
|
||||||
|
};
|
||||||
|
|
||||||
## Services
|
## Services
|
||||||
# OpenSSH so you can SSH to me
|
# OpenSSH so you can SSH to me
|
||||||
|
|
|
@ -33,6 +33,18 @@
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/mnt/steam" = {
|
||||||
|
device = "/dev/disk/by-uuid/d1db9f65-6add-4714-b9d7-16e16f687396";
|
||||||
|
fsType = "btrfs";
|
||||||
|
options = [ "compress=zstd" "subvol=steam" ];
|
||||||
|
encrypted = {
|
||||||
|
enable = true;
|
||||||
|
label = "encdata";
|
||||||
|
blkDev = "/dev/disk/by-uuid/6544f506-9a22-479c-8bfc-aee1b9e0deda";
|
||||||
|
keyFile = "/sysroot/var/crypto/key_data";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices =
|
||||||
[{ device = "/dev/disk/by-uuid/561f6441-1915-4059-a5e1-76a449b0c9bf"; }];
|
[{ device = "/dev/disk/by-uuid/561f6441-1915-4059-a5e1-76a449b0c9bf"; }];
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue