mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 10:05:13 -05:00
refactor: replaced all with with builtins.attrValues
This commit is contained in:
parent
f87d465a2c
commit
b08a7694a5
12 changed files with 236 additions and 153 deletions
|
@ -58,54 +58,67 @@ let
|
|||
in {
|
||||
flake.nixosModules = {
|
||||
personal = {
|
||||
imports = with modules; [
|
||||
android
|
||||
audio
|
||||
bluetooth
|
||||
corectrl
|
||||
dconf
|
||||
disks
|
||||
firejail
|
||||
flatpak
|
||||
fonts
|
||||
nur
|
||||
plasma
|
||||
printing
|
||||
sddm
|
||||
steam
|
||||
sysstat
|
||||
virtualization
|
||||
];
|
||||
imports = builtins.attrValues {
|
||||
inherit
|
||||
(modules)
|
||||
android
|
||||
audio
|
||||
bluetooth
|
||||
corectrl
|
||||
dconf
|
||||
disks
|
||||
firejail
|
||||
flatpak
|
||||
fonts
|
||||
nur
|
||||
plasma
|
||||
printing
|
||||
sddm
|
||||
steam
|
||||
sysstat
|
||||
virtualization
|
||||
;
|
||||
};
|
||||
};
|
||||
|
||||
desktop = {
|
||||
imports = with modules; [
|
||||
syncthing
|
||||
# ollama
|
||||
];
|
||||
imports = builtins.attrValues {
|
||||
inherit
|
||||
(modules)
|
||||
syncthing
|
||||
# ollama
|
||||
|
||||
;
|
||||
};
|
||||
};
|
||||
|
||||
server = {
|
||||
imports = with modules; [
|
||||
services
|
||||
];
|
||||
imports = builtins.attrValues {
|
||||
inherit
|
||||
(modules)
|
||||
services
|
||||
;
|
||||
};
|
||||
};
|
||||
|
||||
shared = {
|
||||
imports = with modules; [
|
||||
accounts
|
||||
doas
|
||||
environment
|
||||
gvfs
|
||||
home-manager
|
||||
locale
|
||||
nix
|
||||
rsyncd
|
||||
sops
|
||||
ssh
|
||||
system
|
||||
xserver
|
||||
];
|
||||
imports = builtins.attrValues {
|
||||
inherit
|
||||
(modules)
|
||||
accounts
|
||||
doas
|
||||
environment
|
||||
gvfs
|
||||
home-manager
|
||||
locale
|
||||
nix
|
||||
rsyncd
|
||||
sops
|
||||
ssh
|
||||
system
|
||||
xserver
|
||||
;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue