add game drive as mount

This commit is contained in:
Johannes Jöns 2023-08-09 23:00:46 +02:00
parent 99e16e2be8
commit a01a04cf3e
3 changed files with 14 additions and 10 deletions

View file

@ -10,6 +10,7 @@
description = "Johannes Jöns";
initialPassword = "password";
extraGroups = [ "wheel" "networkmanager" ];
uid = 1000;
packages = with pkgs; [
kate
libsForQt5.ark

View file

@ -12,8 +12,6 @@
services.xserver.desktopManager.kodi.enable = true;
boot.supportedFilesystems = [ "ntfs" "btrfs" "zfs" ];
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;

View file

@ -23,21 +23,26 @@
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/99a47ace-7e69-4520-b914-d4fe5b31dc79";
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/99a47ace-7e69-4520-b914-d4fe5b31dc79";
fsType = "btrfs";
options = [ "subvol=@" ];
};
fileSystems."/boot/efi" =
{ device = "/dev/disk/by-uuid/1F26-8168";
"/boot/efi" = {
device = "/dev/disk/by-uuid/1F26-8168";
fsType = "vfat";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/78d6db21-b823-4ca4-b495-7782d3e56ddc";
"/home" = {
device = "/dev/disk/by-uuid/78d6db21-b823-4ca4-b495-7782d3e56ddc";
fsType = "ext4";
};
"/media/gaming" = {
device = "/dev/disk/by-uuid/4038F97238F966F6";
fsType = "ntfs";
options = [ "rw" "uid=${config.users.users.jopejoe1.uid}"];
};
};
swapDevices = [ ];