23 lines
458 B
Nix
23 lines
458 B
Nix
{ inputs, outputs, lib, config, pkgs, ... }: {
|
|
imports = [
|
|
inputs.sops-nix.nixosModules.sops
|
|
../roles
|
|
../../modules
|
|
../systemd-primary.nix
|
|
../workstation
|
|
../common
|
|
../wm/sway
|
|
];
|
|
|
|
config = {
|
|
# Common workstation setup
|
|
nix.settings.trusted-users = ["root" "don"];
|
|
|
|
# Server-specific Nix settings
|
|
nix.gc = {
|
|
automatic = true;
|
|
dates = "daily";
|
|
options = "--delete-older-than 7d";
|
|
};
|
|
};
|
|
}
|