move everything else in system config to base module
This commit is contained in:
parent
6f92c5463a
commit
4408a2124e
2 changed files with 12 additions and 12 deletions
|
|
@ -2,16 +2,6 @@
|
||||||
networking.hostName = "winter";
|
networking.hostName = "winter";
|
||||||
system.stateVersion = "20.09";
|
system.stateVersion = "20.09";
|
||||||
|
|
||||||
environment.etc = {
|
|
||||||
"machine-id".source = "/var/persist/machine-id";
|
|
||||||
"ssh/ssh_host_rsa_key".source = "/var/persist/ssh_host_rsa_key";
|
|
||||||
"ssh/ssh_host_rsa_key.pub".source = "/var/persist/ssh_host_rsa_key.pub";
|
|
||||||
"ssh/ssh_host_ed25519_key".source = "/var/persist/ssh_host_ed25519_key";
|
|
||||||
"ssh/ssh_host_ed25519_key.pub".source = "/var/persist/ssh_host_ed25519_key.pub";
|
|
||||||
};
|
|
||||||
environment.pathsToLink = [ "/share/zsh" ];
|
|
||||||
users.mutableUsers = false;
|
|
||||||
|
|
||||||
imports = with modules.system; [
|
imports = with modules.system; [
|
||||||
audio
|
audio
|
||||||
base
|
base
|
||||||
|
|
@ -28,7 +18,5 @@
|
||||||
|
|
||||||
../users/rin.nix
|
../users/rin.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
i18n.defaultLocale = "en_GB.UTF-8";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,16 @@
|
||||||
{ config, inputs, modules, overlays, ... }: {
|
{ config, inputs, modules, overlays, ... }: {
|
||||||
|
environment.etc = {
|
||||||
|
"machine-id".source = "/var/persist/machine-id";
|
||||||
|
"ssh/ssh_host_rsa_key".source = "/var/persist/ssh_host_rsa_key";
|
||||||
|
"ssh/ssh_host_rsa_key.pub".source = "/var/persist/ssh_host_rsa_key.pub";
|
||||||
|
"ssh/ssh_host_ed25519_key".source = "/var/persist/ssh_host_ed25519_key";
|
||||||
|
"ssh/ssh_host_ed25519_key.pub".source = "/var/persist/ssh_host_ed25519_key.pub";
|
||||||
|
};
|
||||||
|
environment.pathsToLink = [ "/share/zsh" ];
|
||||||
|
|
||||||
|
i18n.defaultLocale = "en_GB.UTF-8";
|
||||||
|
users.mutableUsers = false;
|
||||||
|
|
||||||
system = {
|
system = {
|
||||||
configurationRevision = inputs.self.rev;
|
configurationRevision = inputs.self.rev;
|
||||||
nixos = rec {
|
nixos = rec {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue