Modularize GY config
This commit is contained in:
parent
15b909473e
commit
cd03afb425
8 changed files with 109 additions and 26 deletions
16
hosts/greatyamada/nixos/default.nix
Normal file
16
hosts/greatyamada/nixos/default.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, lib, pkgs }: {
|
||||
imports = [ ./filesystems.nix ];
|
||||
networking = {
|
||||
firewall.enable = true;
|
||||
hostName = "greatyamada";
|
||||
networkmanager.enable = true;
|
||||
useDHCP = lib.mkDefault false;
|
||||
};
|
||||
|
||||
sops = {
|
||||
defaultSopsFile = "/etc/nixos/secrets/greatyamada.yaml";
|
||||
age.keyFile = "/etc/nixos/keys.txt";
|
||||
};
|
||||
|
||||
time.timeZone = "UTC";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue