Move window managers into other interfaces
This commit is contained in:
@@ -1,37 +1,9 @@
|
||||
{ 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
|
||||
imports = [
|
||||
./window-manager/${profile.interface}.nix
|
||||
];
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
withUWSM = true;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
home-manager.users.${profile.username} = { ... }: {
|
||||
home.file.".config/hypr" = {
|
||||
source = dotfiles_hypr;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
38
desktop-environment/window-manager/hyprland.nix
Normal file
38
desktop-environment/window-manager/hyprland.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user