First commit

This commit is contained in:
2025-07-22 02:30:15 +02:00
commit e9441f563b
66 changed files with 4401 additions and 0 deletions

View File

@@ -0,0 +1,54 @@
{
lib,
pkgs,
...
}@attrs:
let
hostname = "${attrs.hostname}";
gpu = [
"home.nix"
];
## mettre le module picom hors de X11 et l'installer seulement sur les ordinateurs gpu
# l'importer dans X11 seulement si gpu
isGpu = lib.any (name: hostname == name) gpu;
in
{
imports =
[
./common
./dunst
./kitty
./rofi
./sound
./gaming
]
++
lib.optionals
(builtins.elem hostname [
"home-nix"
])
[
(import ./X11 { inherit lib pkgs isGpu; })
./printers
./gaming
./nvidia
./virt-manager
]
++
lib.optionals
(builtins.elem hostname [
"test-nix"
])
[
./X11
]
++
lib.optionals
(builtins.elem hostname [
"home-nix"
"test-nix"
])
[
./wayland
];
}