mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-03-30 22:32:03 +02:00
feat: replace waybar/mako/anyrun/wlogout/swaylock with noctolia-shell, remove hyprland (#240)
This commit is contained in:
@@ -51,18 +51,6 @@ let
|
||||
];
|
||||
};
|
||||
|
||||
modules-hyprland = {
|
||||
nixos-modules = [
|
||||
]
|
||||
++ base-modules.nixos-modules;
|
||||
home-modules = [
|
||||
{
|
||||
modules.desktop.hyprland.enable = true;
|
||||
}
|
||||
]
|
||||
++ base-modules.home-modules;
|
||||
};
|
||||
|
||||
modules-niri = {
|
||||
nixos-modules = [
|
||||
{ programs.niri.enable = true; }
|
||||
@@ -76,14 +64,11 @@ let
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
# host with hyprland compositor
|
||||
"${name}-hyprland" = mylib.nixosSystem (modules-hyprland // args);
|
||||
"${name}-niri" = mylib.nixosSystem (modules-niri // args);
|
||||
};
|
||||
|
||||
# generate iso image for hosts with desktop environment
|
||||
packages = {
|
||||
"${name}-hyprland" = inputs.self.nixosConfigurations."${name}-hyprland".config.formats.iso;
|
||||
"${name}-niri" = inputs.self.nixosConfigurations."${name}-niri".config.formats.iso;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
let
|
||||
username = myvars.username;
|
||||
hosts = [
|
||||
"shoukei-hyprland"
|
||||
"shoukei-niri"
|
||||
];
|
||||
in
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
let
|
||||
username = myvars.username;
|
||||
hosts = [
|
||||
"shoukei-hyprland"
|
||||
"shoukei-niri"
|
||||
];
|
||||
in
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
}:
|
||||
let
|
||||
specialExpected = {
|
||||
"shoukei-hyprland" = "shoukei";
|
||||
"shoukei-niri" = "shoukei";
|
||||
};
|
||||
specialHostNames = builtins.attrNames specialExpected;
|
||||
|
||||
Reference in New Issue
Block a user