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;
|
capSysAdmin = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.displayManager.ly.enable = true;
|
|
||||||
|
|
||||||
modules = {
|
modules = {
|
||||||
hardware.presonus-studio.enable = true;
|
hardware.presonus-studio.enable = true;
|
||||||
services = {
|
services = {
|
||||||
@ -69,7 +67,10 @@
|
|||||||
repoPath = "ssh://iqwu22oq@iqwu22oq.repo.borgbase.com/./repo";
|
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";
|
system.stateVersion = "22.11";
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
./services/postgresql.nix
|
./services/postgresql.nix
|
||||||
./services/tailscale.nix
|
./services/tailscale.nix
|
||||||
./system/desktop/gnome.nix
|
./system/desktop/gnome.nix
|
||||||
|
./system/desktop/hyprland.nix
|
||||||
./system/desktop/mimeapps.nix
|
./system/desktop/mimeapps.nix
|
||||||
./system/wireless.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 [
|
++ lib.optionals osConfig.modules.system.desktop.gnome.enable [
|
||||||
./gnome.nix
|
./gnome.nix
|
||||||
|
]
|
||||||
|
++ lib.optionals osConfig.modules.system.desktop.hyprland.enable [
|
||||||
|
./hyprland.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -4,15 +4,10 @@
|
|||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# withUWSM = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
# programs.uwsm.enable = true;
|
|
||||||
|
|
||||||
networking.networkmanager.enable = true;
|
|
||||||
|
|
||||||
home.packages = with pkgs.unstable; [
|
home.packages = with pkgs.unstable; [
|
||||||
adw-gtk3
|
adw-gtk3
|
||||||
anyrun
|
anyrun
|
||||||
|
Loading…
x
Reference in New Issue
Block a user