dotfiles.nix/nixos/common/users/spectre/default.nix

23 lines
461 B
Nix
Raw Normal View History

2024-06-03 21:07:39 +08:00
{
2024-08-08 09:02:42 +08:00
inputs,
pkgs,
...
}: {
2024-06-03 21:07:39 +08:00
imports = [
inputs.home-manager.nixosModules.home-manager
];
2024-09-07 15:48:27 +08:00
2024-06-03 21:07:39 +08:00
users.users.spectre = {
2024-08-08 09:02:42 +08:00
isNormalUser = true;
shell = pkgs.zsh;
hashedPassword = "$y$j9T$eCJ0MDPsx3tww9LP0LU8..$sE8u5keO7QNKNAR1t2R6GqsDzvGD0Xn9Fi3to14Gf9/";
2024-06-03 21:07:39 +08:00
};
users.mutableUsers = false;
2024-09-07 15:48:27 +08:00
fileSystems."/home/spectre" = {
device = "/dev/disk/by-label/data";
fsType = "btrfs";
options = ["subvol=spectre" "compress=zstd"];
};
2024-06-03 21:07:39 +08:00
}