feat: introduction of system_profiles
This commit is contained in:
parent
116aaaacff
commit
855b932cbd
15 changed files with 117 additions and 67 deletions
22
system_profiles/importers/desktop.nix
Normal file
22
system_profiles/importers/desktop.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
# This basicly imports the whole modules folder
|
||||
{rootPath, ...}: {
|
||||
imports = [
|
||||
(rootPath + /modules)
|
||||
|
||||
(rootPath + /modules/hardware)
|
||||
|
||||
(rootPath + /modules/pkg_mgrmnt)
|
||||
|
||||
(rootPath + /modules/sec_auth)
|
||||
|
||||
(rootPath + /modules/software)
|
||||
(rootPath + /modules/software/browser)
|
||||
(rootPath + /modules/software/nix-helper)
|
||||
(rootPath + /modules/software/office)
|
||||
(rootPath + /modules/software/shells)
|
||||
|
||||
(rootPath + /modules/users)
|
||||
|
||||
(rootPath + /modules/wm_and_de)
|
||||
];
|
||||
}
|
7
system_profiles/importers/general.nix
Normal file
7
system_profiles/importers/general.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
# This loads some "general" defaults
|
||||
{rootPath, ...}: {
|
||||
imports = [
|
||||
(rootPath + /modules/locale.nix)
|
||||
(rootPath + /modules/sec_auth/sudo-rs.nix)
|
||||
];
|
||||
}
|
7
system_profiles/importers/server.nix
Normal file
7
system_profiles/importers/server.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{rootPath, ...}: {
|
||||
imports = [
|
||||
(rootPath + /modules/customisation.nix)
|
||||
(rootPath + /modules/software/neovim.nix)
|
||||
(rootPath + /modules/software/packages/core.nix)
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue