mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
28 lines
524 B
Nix
28 lines
524 B
Nix
{ config, ... }:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./network.nix
|
|
./services.nix
|
|
./syncthing.nix
|
|
./system.nix
|
|
./wifi.nix
|
|
];
|
|
|
|
disko.devices = import ./disko-config.nix {
|
|
disks = [ "/dev/disk/by-id/usb-Seagate_Expansion_2HC015KJ-0:0" ];
|
|
};
|
|
|
|
networking.hostName = "serverle";
|
|
|
|
sops = {
|
|
defaultSopsFile = ./secrets.yaml;
|
|
# disable gpg and thereby enable age
|
|
gnupg.sshKeyPaths = [ ];
|
|
};
|
|
|
|
system = {
|
|
stateVersion = "23.05";
|
|
autoUpgrade.enable = true;
|
|
};
|
|
}
|