nixos/hosts/parents/default.nix

48 lines
1.2 KiB
Nix

# parents
# System configuration for the Chromebox I am leaving at my parent's
{ inputs, globals, ... }:
with inputs;
inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
globals
lix-module.nixosModules.default
home-manager.nixosModules.home-manager
sops-nix.nixosModules.sops
disko.nixosModules.disko
./hardware-configuration.nix
./disk-config.nix
./netbird.nix
./nixos-anywhere.nix
../../modules/common
../../modules/nixos
] {
home-manager.useGlobalPkgs = true;
physical = true;
networking.hostName = "parents";
networking.useDHCP = nixpkgs.lib.mkDefault true;
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age.keyFile = "/home/annika/.config/sops/age/keys.txt";
age.sshKeyPaths = [ "/home/annika/.ssh/id_ed25519" ];
};
time.timeZone = "America/New_York";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.11";
home-manager.backupFileExtension = "backup";
audio.enable = false;
gui.enable = false;
services.openssh.enable = true;
services.flatpak.enable = false;
docker.enable = true;
};
}