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
@@ -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;
};
}
-20
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;
};
}
@@ -5,9 +5,7 @@
username = myvars.username;
hosts = [
"ai-hyprland"
"ai-i3"
"shoukei-hyprland"
"shoukei-i3"
"ruby"
"k3s-prod-1-master-1"
];
@@ -6,9 +6,7 @@
username = myvars.username;
hosts = [
"ai-hyprland"
"ai-i3"
"shoukei-hyprland"
"shoukei-i3"
"ruby"
"k3s-prod-1-master-1"
];
@@ -4,9 +4,7 @@
}: let
specialExpected = {
"ai-hyprland" = "ai";
"ai-i3" = "ai";
"shoukei-hyprland" = "shoukei";
"shoukei-i3" = "shoukei";
};
specialHostNames = builtins.attrNames specialExpected;