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"; description = "Johannes Jöns";
initialPassword = "password"; initialPassword = "password";
extraGroups = [ "wheel" "networkmanager" ]; extraGroups = [ "wheel" "networkmanager" ];
uid = 1000;
packages = with pkgs; [ packages = with pkgs; [
kate kate
libsForQt5.ark libsForQt5.ark

View file

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

View file

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