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 = [
|
||||
./accounts
|
||||
./devices
|
||||
./modules
|
||||
./nix
|
||||
./programs
|
||||
./secrets
|
||||
./services
|
||||
./settings
|
||||
];
|
||||
|
||||
options.system = with lib; {
|
||||
server.enable = mkEnableOption "Enable server apps and services";
|
||||
networking = {
|
||||
hostName = "rubble";
|
||||
hostId = "e0b1fcef";
|
||||
};
|
||||
|
||||
config = {
|
||||
networking = {
|
||||
hostName = "rubble";
|
||||
hostId = "e0b1fcef";
|
||||
};
|
||||
system.stateVersion = "24.11";
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
};
|
||||
time.timeZone = "America/Toronto";
|
||||
system.stateVersion = "24.11";
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue