45 lines
933 B
Nix
45 lines
933 B
Nix
|
{ tree, modulesPath, config, pkgs, lib, ... }:
|
||
|
|
||
|
{
|
||
|
imports = with tree; [
|
||
|
users.root
|
||
|
users.chaoticryptidz
|
||
|
profiles.base
|
||
|
profiles.gui
|
||
|
profiles.network_manager
|
||
|
profiles.sway
|
||
|
profiles.tor
|
||
|
(modulesPath + "/installer/cd-dvd/installation-cd-base.nix")
|
||
|
];
|
||
|
|
||
|
home-manager.users.root = { imports = with tree; [ home.base ]; };
|
||
|
home-manager.users.chaoticryptidz = {
|
||
|
imports = with tree; [
|
||
|
home.base
|
||
|
home.gui
|
||
|
home.dev
|
||
|
home.network_manager
|
||
|
home.sway
|
||
|
home.apps.vivaldi
|
||
|
home.programming
|
||
|
home.programming.languages.nix
|
||
|
];
|
||
|
};
|
||
|
|
||
|
users.users.chaoticryptidz.initialPassword = "";
|
||
|
|
||
|
# let vscode, vivaldi, etc work.
|
||
|
security.unprivilegedUsernsClone = true;
|
||
|
|
||
|
networking = {
|
||
|
hostName = "rescue";
|
||
|
networkmanager.enable = true;
|
||
|
wireless.enable = lib.mkForce false;
|
||
|
};
|
||
|
|
||
|
time.timeZone = "Europe/London";
|
||
|
|
||
|
system.stateVersion = "21.11";
|
||
|
}
|
||
|
|