organize modules
This commit is contained in:
parent
d7453265a1
commit
d0d4bf9ddb
21 changed files with 54 additions and 69 deletions
|
|
@ -1,8 +1,8 @@
|
|||
{ hostname, timezone, ... }: {
|
||||
system.stateVersion = "24.11";
|
||||
imports = [
|
||||
./utilities.nix
|
||||
./nix-conf.nix
|
||||
./misc/utilities.nix
|
||||
./misc/nix-conf.nix
|
||||
];
|
||||
|
||||
networking.hostName = "${hostname}";
|
||||
|
|
@ -11,4 +11,4 @@
|
|||
openssh.enable = true;
|
||||
tailscale.enable = true;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
{ pkgs, locale, ... }: {
|
||||
imports = [
|
||||
./core/virtualization.nix
|
||||
./core/bootloader.nix
|
||||
./core/filesystem.nix
|
||||
./core/network.nix
|
||||
./core/kernel.nix
|
||||
./core/user.nix
|
||||
./misc/programs.nix
|
||||
./misc/desktop.nix
|
||||
./base.nix
|
||||
./network.nix
|
||||
./user.nix
|
||||
./kernel.nix
|
||||
./bootloader.nix
|
||||
./filesystem.nix
|
||||
./virtualization.nix
|
||||
./desktop.nix
|
||||
./programs.nix
|
||||
];
|
||||
|
||||
i18n.defaultLocale = locale;
|
||||
|
|
@ -24,4 +24,4 @@
|
|||
fonts.packages = with pkgs; [
|
||||
corefonts
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,23 +1,21 @@
|
|||
{ pkgs, username, ... }: {
|
||||
users = {
|
||||
users."${username}" = {
|
||||
linger = true;
|
||||
isNormalUser = true;
|
||||
description = "${username}";
|
||||
initialPassword = "${username}";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"dialout"
|
||||
"libvirtd"
|
||||
"docker"
|
||||
"input"
|
||||
"uinput"
|
||||
"ydotool"
|
||||
"adbusers"
|
||||
"kvm"
|
||||
];
|
||||
};
|
||||
users.users."${username}" = {
|
||||
linger = true;
|
||||
isNormalUser = true;
|
||||
description = "${username}";
|
||||
initialPassword = "${username}";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"dialout"
|
||||
"libvirtd"
|
||||
"docker"
|
||||
"input"
|
||||
"uinput"
|
||||
"plugdev"
|
||||
"adbusers"
|
||||
"kvm"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue