Move window managers into other interfaces
This commit is contained in:
@@ -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;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user