refactor
This commit is contained in:
parent
92cfae9488
commit
648602c92e
11 changed files with 13 additions and 19 deletions
|
|
@ -56,21 +56,21 @@
|
||||||
till = {
|
till = {
|
||||||
imports = [
|
imports = [
|
||||||
./home/desktop-full.nix
|
./home/desktop-full.nix
|
||||||
./home/users/till.nix
|
./users/till/home.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
alt = {
|
alt = {
|
||||||
imports = [
|
imports = [
|
||||||
./home/desktop-slim.nix
|
./home/desktop-slim.nix
|
||||||
./home/users/alt.nix
|
./users/alt/home.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
guest = {
|
guest = {
|
||||||
imports = [
|
imports = [
|
||||||
./home/desktop-slim.nix
|
./home/desktop-slim.nix
|
||||||
./home/users/guest.nix
|
./users/guest/home.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../users/alt.nix
|
../../users/alt/system.nix
|
||||||
../../users/guest.nix
|
../../users/guest/system.nix
|
||||||
../../system
|
../../system
|
||||||
../../system/desktop
|
../../system/desktop
|
||||||
../../system/desktop/gnome.nix
|
../../system/desktop/gnome.nix
|
||||||
|
|
|
||||||
|
|
@ -1,14 +1,14 @@
|
||||||
{ config, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../users/till.nix
|
../users/till/system.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
users.mutableUsers = lib.mkDefault true;
|
||||||
users.mutableUsers = true;
|
|
||||||
time.timeZone = "Europe/Berlin";
|
|
||||||
programs.fish.enable = true;
|
programs.fish.enable = true;
|
||||||
|
time.timeZone = lib.mkDefault "Europe/Berlin";
|
||||||
|
networking.networkmanager.enable = true;
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
settings.experimental-features = [ "nix-command" "flakes" ];
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
@ -45,5 +45,6 @@
|
||||||
settings.PermitRootLogin = "no";
|
settings.PermitRootLogin = "no";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Do NOT change this value
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
{ config, pkgs, lib, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
];
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
extraGroups = [ "networkmanager" ];
|
extraGroups = [ "networkmanager" ];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
openssh.authorizedKeys.keyFiles = [
|
openssh.authorizedKeys.keyFiles = [
|
||||||
../till${"@"}nova.pub
|
../till/ssh/till${"@"}nova.pub
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
];
|
];
|
||||||
shell = pkgs.fish;
|
shell = pkgs.fish;
|
||||||
openssh.authorizedKeys.keyFiles = [
|
openssh.authorizedKeys.keyFiles = [
|
||||||
../till${"@"}nova.pub
|
./ssh/till${"@"}nova.pub
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue