feat(users/malte,users/deck): butterjunge usb stick

This commit is contained in:
Malte Tammena 2023-11-28 14:34:54 +01:00
parent 0185c8fb11
commit 5ad07e4f25
2 changed files with 34 additions and 0 deletions

View file

@ -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;

View file

@ -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";