Move mkHost helper into a separate module
This commit is contained in:
parent
f7872964ec
commit
9bf329b9d1
6 changed files with 35 additions and 61 deletions
|
|
@ -5,18 +5,10 @@
|
|||
./backup.nix
|
||||
./boot.nix
|
||||
./hardware.nix
|
||||
../../modules/nixos
|
||||
];
|
||||
|
||||
time.timeZone = "America/Los_Angeles";
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
|
|
@ -27,6 +19,4 @@
|
|||
};
|
||||
displayManager.defaultSession = "cinnamon";
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,20 +1 @@
|
|||
{ config, lib, pkgs, inputs, outputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
outputs.nixosModules
|
||||
];
|
||||
|
||||
time.timeZone = "America/Los_Angeles";
|
||||
|
||||
nix.settings.experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "monolith";
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
}
|
||||
{ ... }: {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue