hyprland: re-add system module
All checks were successful
Check flake / build-amd64-linux (push) Successful in 4m35s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 4m35s
This commit is contained in:
parent
7bc95779e7
commit
c2659206a0
@ -50,8 +50,6 @@
|
||||
capSysAdmin = true;
|
||||
};
|
||||
|
||||
services.displayManager.ly.enable = true;
|
||||
|
||||
modules = {
|
||||
hardware.presonus-studio.enable = true;
|
||||
services = {
|
||||
@ -69,7 +67,10 @@
|
||||
repoPath = "ssh://iqwu22oq@iqwu22oq.repo.borgbase.com/./repo";
|
||||
};
|
||||
};
|
||||
system.desktop.gnome.enable = lib.mkForce false;
|
||||
system.desktop = {
|
||||
gnome.enable = lib.mkForce false;
|
||||
hyprland.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "22.11";
|
||||
|
@ -6,6 +6,7 @@
|
||||
./services/postgresql.nix
|
||||
./services/tailscale.nix
|
||||
./system/desktop/gnome.nix
|
||||
./system/desktop/hyprland.nix
|
||||
./system/desktop/mimeapps.nix
|
||||
./system/wireless.nix
|
||||
];
|
||||
|
25
modules/nixos/system/desktop/hyprland.nix
Normal file
25
modules/nixos/system/desktop/hyprland.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
let
|
||||
inherit (lib)
|
||||
mkEnableOption
|
||||
mkIf
|
||||
;
|
||||
cfg = config.modules.system.desktop.hyprland;
|
||||
in
|
||||
{
|
||||
options.modules.system.desktop.hyprland.enable = mkEnableOption "hyprland";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
services.displayManager.ly.enable = true;
|
||||
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
# withUWSM = true;
|
||||
};
|
||||
};
|
||||
}
|
@ -13,6 +13,9 @@
|
||||
]
|
||||
++ lib.optionals osConfig.modules.system.desktop.gnome.enable [
|
||||
./gnome.nix
|
||||
]
|
||||
++ lib.optionals osConfig.modules.system.desktop.hyprland.enable [
|
||||
./hyprland.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
@ -4,15 +4,10 @@
|
||||
}:
|
||||
|
||||
{
|
||||
programs.hyprland = {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
# withUWSM = true;
|
||||
};
|
||||
|
||||
# programs.uwsm.enable = true;
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
home.packages = with pkgs.unstable; [
|
||||
adw-gtk3
|
||||
anyrun
|
||||
|
Loading…
x
Reference in New Issue
Block a user