nixfiles/hosts/storage/storage.nix

39 lines
732 B
Nix
Raw Normal View History

2022-10-27 16:25:26 +01:00
{ modulesPath, tree, config, pkgs, lib, ... }:
{
imports = with tree; [
users.root
users.chaos
profiles.base
profiles.tailscale
profiles.sshd
./storage.nix
./hardware.nix
./misc.nix
(modulesPath + "/profiles/qemu-guest.nix")
../../extras/laura-ssh-root.nix
];
environment.systemPackages = with pkgs; [ rclone cifs-utils ];
home-manager.users.root = {
imports = with tree; [ home.base home.dev.small ];
home.stateVersion = "22.05";
};
home-manager.users.chaos = {
imports = with tree; [ home.base home.dev.small ];
home.stateVersion = "22.05";
};
networking.hostName = "storage";
time.timeZone = "Europe/London";
system.stateVersion = "21.11";
}