mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
28 lines
533 B
Nix
28 lines
533 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
imports = [
|
|
./boot.nix
|
|
./disks.nix
|
|
./hardware-configuration.nix
|
|
./network.nix
|
|
./profiles.nix
|
|
./services.nix
|
|
./system.nix
|
|
];
|
|
|
|
networking.hostName = "thinkman";
|
|
|
|
sops = {
|
|
defaultSopsFile = ./secrets.yaml;
|
|
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
|
gnupg.sshKeyPaths = [ ];
|
|
};
|
|
|
|
# needed for cross-compilation
|
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
|
|
system = {
|
|
stateVersion = "22.11";
|
|
autoUpgrade.enable = true;
|
|
};
|
|
}
|