diff --git a/modules/deck.nix b/modules/deck.nix index 7affad4..c6de8d6 100644 --- a/modules/deck.nix +++ b/modules/deck.nix @@ -34,6 +34,23 @@ in { openssh.authorizedKeys.keyFiles = [../users/malte/yubikey.pub]; }; + # My huge NVME USB Stick + fileSystems."/butterjunge" = { + device = "/dev/disk/by-id/usb-SHARGE_DISK_012345679841-0:0-part2"; + fsType = "btrfs"; + options = [ + "compress=lzo" + ]; + }; + fileSystems."/home/deck/butterjunge" = { + device = "/butterjunge"; + options = [ + "bind" + "compress=lzo" + "map=1000/deck:@100/@users" + ]; + }; + home-manager.users.deck.imports = [../users/deck/home.nix inputs.nix-colors.homeManagerModule inputs.hyprland.homeManagerModules.default]; programs.fish.enable = true; diff --git a/modules/malte.nix b/modules/malte.nix index 4fdbdaa..f8dade7 100644 --- a/modules/malte.nix +++ b/modules/malte.nix @@ -59,6 +59,23 @@ in { enableNvidiaPatches = config.settings.nvidiaUsed; }; + # My huge NVME USB Stick + fileSystems."/butterjunge" = { + device = "/dev/disk/by-id/usb-SHARGE_DISK_012345679841-0:0-part2"; + fsType = "btrfs"; + options = [ + "compress=lzo" + ]; + }; + fileSystems."/home/malte/butterjunge" = { + device = "/butterjunge"; + options = [ + "bind" + "compress=lzo" + "map=1000/malte:@100/@users" + ]; + }; + sops.secrets = let sopsFile = ../secrets/users/malte/secrets.yaml; owner = "malte";