refactor: remove i3 (#162)

This commit is contained in:
Ryan Yin
2024-09-03 00:06:34 +08:00
committed by GitHub
parent 07b74cd2e5
commit a1789eebff
409 changed files with 25 additions and 59302 deletions

View File

@@ -28,23 +28,6 @@
];
};
modules-i3 = {
nixos-modules =
[
{
modules.desktop.xorg.enable = true;
modules.secrets.desktop.enable = true;
modules.secrets.impermanence.enable = true;
}
]
++ base-modules.nixos-modules;
home-modules =
[
{modules.desktop.i3.enable = true;}
]
++ base-modules.home-modules;
};
modules-hyprland = {
nixos-modules =
[
@@ -63,15 +46,12 @@
};
in {
nixosConfigurations = {
# with i3 window manager
"${name}-i3" = mylib.nixosSystem (modules-i3 // args);
# host with hyprland compositor
"${name}-hyprland" = mylib.nixosSystem (modules-hyprland // args);
};
# generate iso image for hosts with desktop environment
packages = {
"${name}-i3" = inputs.self.nixosConfigurations."${name}-i3".config.formats.iso;
"${name}-hyprland" = inputs.self.nixosConfigurations."${name}-hyprland".config.formats.iso;
};
}

View File

@@ -28,23 +28,6 @@
];
};
modules-i3 = {
nixos-modules =
[
{
modules.desktop.xorg.enable = true;
modules.secrets.desktop.enable = true;
modules.secrets.impermanence.enable = true;
}
]
++ base-modules.nixos-modules;
home-modules =
[
{modules.desktop.i3.enable = true;}
]
++ base-modules.home-modules;
};
modules-hyprland = {
nixos-modules =
[
@@ -63,15 +46,12 @@
};
in {
nixosConfigurations = {
# with i3 window manager
"${name}-i3" = mylib.nixosSystem (modules-i3 // args);
# host with hyprland compositor
"${name}-hyprland" = mylib.nixosSystem (modules-hyprland // args);
};
# generate iso image for hosts with desktop environment
packages = {
"${name}-i3" = inputs.self.nixosConfigurations."${name}-i3".config.formats.iso;
"${name}-hyprland" = inputs.self.nixosConfigurations."${name}-hyprland".config.formats.iso;
};
}