modularize config
This commit is contained in:
parent
48f0c3b3ec
commit
65ff3fcd11
25 changed files with 88 additions and 14 deletions
20
modules/common/default.nix
Normal file
20
modules/common/default.nix
Normal file
|
@ -0,0 +1,20 @@
|
|||
{ hostname, ... }:
|
||||
{
|
||||
imports = [
|
||||
./autoupdate.nix
|
||||
./garbage-collect.nix
|
||||
./keyd.nix
|
||||
./mimetype.nix
|
||||
./optimise.nix
|
||||
./sops.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
hostName = "${hostname}";
|
||||
};
|
||||
console.keyMap = "de";
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
system.stateVersion = "23.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue