treewide: modules: simplify

This commit is contained in:
Guanran Wang 2024-01-29 08:18:06 +08:00
parent 4a33b357d2
commit 5b87816947
Signed by: nyancat
SSH key fingerprint: SHA256:8oWGKciPALWut/6WA27oFKofX+6Wtc0gQnsefXLQx/8
13 changed files with 10 additions and 50 deletions

View file

@ -1,6 +1,6 @@
{...}: { {...}: {
imports = [ imports = [
./networking ./networking/proxy.nix
./services ./services/clash.nix
]; ];
} }

View file

@ -1,5 +0,0 @@
{...}: {
imports = [
./proxy
];
}

View file

@ -1,5 +0,0 @@
{...}: {
imports = [
./clash
];
}

View file

@ -1,9 +1,15 @@
{...}: { {...}: {
imports = [ imports = [
# utils that is used internally # utils that is used internally
./myFlake ./myFlake/boot.nix
./myFlake/hardware/accessories/logitech-wireless.nix
./myFlake/hardware/accessories/piper.nix
./myFlake/hardware/accessories/xbox-one-controller.nix
./myFlake/hardware/components/audio.nix
./myFlake/hardware/components/bluetooth.nix
./myFlake/hardware/components/tpm.nix
# nixpkgs styled options # nixpkgs styled options
./services ./services/clash.nix
]; ];
} }

View file

@ -1,5 +0,0 @@
{...}: {
imports = [
./boot.nix
];
}

View file

@ -1,6 +0,0 @@
{...}: {
imports = [
./boot
./hardware
];
}

View file

@ -1,7 +0,0 @@
{...}: {
imports = [
./logitech-wireless.nix
./piper.nix
./xbox-one-controller.nix
];
}

View file

@ -1,7 +0,0 @@
{...}: {
imports = [
./audio.nix
./bluetooth.nix
./tpm.nix
];
}

View file

@ -1,6 +0,0 @@
{...}: {
imports = [
./accessories
./components
];
}

View file

@ -1,5 +0,0 @@
{...}: {
imports = [
./clash.nix
];
}