Move window managers into other interfaces

This commit is contained in:
2026-02-27 16:28:44 +01:00
parent 6eb53c661a
commit 620ea7a061
3 changed files with 43 additions and 34 deletions

View File

@@ -1,37 +1,9 @@
{ pkgs, lib, ... }: { pkgs, lib, ... }:
let let
dotfiles_hypr = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/hypr";
rev = "96f9ca03450049baffbc8a2b71c3a40367edd2a5";
sha256 = "sha256-dHxf2UNEDC/KyDgjMMQ988hyGM2gasYNbNtLTityhDY=";
};
profile = import ../profile.nix; profile = import ../profile.nix;
in in
{ {
environment.systemPackages = with pkgs; [ imports = [
wofi ./window-manager/${profile.interface}.nix
waybar
grim
swaynotificationcenter
swaylock
hyprpaper
lxsession
hyprshot
wayvnc
]; ];
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
home-manager.users.${profile.username} = { ... }: {
home.file.".config/hypr" = {
source = dotfiles_hypr;
recursive = true;
};
};
} }

View File

@@ -0,0 +1,38 @@
{ pkgs, lib, ... }:
let
dotfiles_hypr = pkgs.fetchgit {
url = "https://git.nichkara.eu/dotfiles/hypr";
rev = "96f9ca03450049baffbc8a2b71c3a40367edd2a5";
sha256 = "sha256-dHxf2UNEDC/KyDgjMMQ988hyGM2gasYNbNtLTityhDY=";
};
profile = import ../../profile.nix;
in
{
environment.systemPackages = with pkgs; [
wofi
waybar
grim
swaynotificationcenter
swaylock
hyprpaper
lxsession
hyprshot
wayvnc
];
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
home-manager.users.${profile.username} = { ... }: {
home.file.".config/hypr" = {
source = dotfiles_hypr;
recursive = true;
};
};
}

View File

@@ -9,9 +9,8 @@ in
]; ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# Make systems
gnumake gnumake
pathon3 python3
] ]
++ lib.optionals profile.modules.development [ ++ lib.optionals profile.modules.development [
cmake cmake