@ -43,5 +43,7 @@ nixfiles
│ ├── hosts # configuration for specific hosts
│ ├── profiles # configuariotn for specific machine types
│ └── services # common service configuration
└── modules # NixOS modules
├── lib # helper functions
├── modules # NixOS modules
└── pkgs # nixpkgs overlays
```
@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, lib, pkgs, ... }:
with lib; {
imports = [
@ -34,7 +34,5 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
# networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}
@ -20,6 +20,5 @@
# networking.interfaces.wlp4s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wwp0s20f0u3.useDHCP = lib.mkDefault true;
#powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
@ -19,7 +19,6 @@
max-substitution-jobs = 20
max-silent-time = 900
'';
systemd.network.networks."98-eth-default" = {
address = [
"2a0f:be01:0:100::1312/128"
];
};
services.vyosBld = {
enable = true;
output = "/var/www/kyouma.net/vyos";
@ -29,6 +29,7 @@
../../config/hosts/${hostname}/configuration.nix
({ ... }: {
nixpkgs.overlays = [ self.overlays.kyouma ];
nixpkgs.hostPlatform = system;
})