More option simplification
This commit is contained in:
parent
8ac994204c
commit
c4d69ff019
6 changed files with 13 additions and 24 deletions
|
@ -3,22 +3,19 @@
|
||||||
imports = [
|
imports = [
|
||||||
./accounts
|
./accounts
|
||||||
./devices
|
./devices
|
||||||
|
./modules
|
||||||
|
./nix
|
||||||
./programs
|
./programs
|
||||||
./secrets
|
./secrets
|
||||||
./services
|
./services
|
||||||
./settings
|
|
||||||
];
|
];
|
||||||
|
|
||||||
options.system = with lib; {
|
|
||||||
server.enable = mkEnableOption "Enable server apps and services";
|
|
||||||
};
|
|
||||||
|
|
||||||
config = {
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "rubble";
|
hostName = "rubble";
|
||||||
hostId = "e0b1fcef";
|
hostId = "e0b1fcef";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
time.timeZone = "America/Toronto";
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ ... }:
|
{ lib, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./cfdyndns
|
./cfdyndns
|
||||||
|
@ -10,4 +10,8 @@
|
||||||
./vaultwarden
|
./vaultwarden
|
||||||
./webserver
|
./webserver
|
||||||
];
|
];
|
||||||
|
|
||||||
|
options.system = with lib; {
|
||||||
|
server.enable = mkEnableOption "Enable server apps and services";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./modules
|
|
||||||
./nix
|
|
||||||
./timezone
|
|
||||||
];
|
|
||||||
}
|
|
|
@ -1,4 +0,0 @@
|
||||||
{ ... }:
|
|
||||||
{
|
|
||||||
time.timeZone = "America/Toronto";
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue