diff --git a/desktop/default.nix b/desktop/default.nix index 903dbac..0fcc697 100644 --- a/desktop/default.nix +++ b/desktop/default.nix @@ -15,10 +15,7 @@ ./swaylock ./udiskie ./waybar - ./xcursor ./xdg-user-dirs - ./xresources - ./xserver ]; environment.systemPackages = with pkgs; [ diff --git a/desktop/hyprland/default.nix b/desktop/hyprland/default.nix index 5569429..258464d 100644 --- a/desktop/hyprland/default.nix +++ b/desktop/hyprland/default.nix @@ -1,6 +1,14 @@ +{ pkgs, ... }: + { programs.hyprland.enable = true; + services.xserver = { + enable = true; + displayManager.lightdm.enable = false; + excludePackages = [ pkgs.xterm ]; + }; + home-manager.sharedModules = [{ xdg.configFile."hypr/hyprland.conf".text = '' env=XCURSOR_SIZE,24 @@ -188,5 +196,20 @@ ''; xdg.configFile."hypr/swapmaster.sh".source = ./swapmaster.sh; xdg.configFile."hypr/tags.sh".source = ./tags.sh; + + home.file.".icons/default/index.theme".text = '' + [icon theme] + Inherits=phinger-cursors + ''; + + xresources.properties = { + "Xft.hinting" = true; + "Xft.antialias" = true; + "Xft.autohint" = false; + "Xft.lcdfilter" = "lcddefault"; + "Xft.hintstyle" = "hintfull"; + "Xft.rgba" = "rgb"; + }; + }]; } diff --git a/desktop/xcursor/default.nix b/desktop/xcursor/default.nix deleted file mode 100644 index 794deaa..0000000 --- a/desktop/xcursor/default.nix +++ /dev/null @@ -1,8 +0,0 @@ -{ - home-manager.sharedModules = [{ - home.file.".icons/default/index.theme".text = '' - [icon theme] - Inherits=phinger-cursors - ''; - }]; -} diff --git a/desktop/xresources/default.nix b/desktop/xresources/default.nix deleted file mode 100644 index 64e5b10..0000000 --- a/desktop/xresources/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ - home-manager.sharedModules = [{ - xresources.properties = { - "Xft.hinting" = true; - "Xft.antialias" = true; - "Xft.autohint" = false; - "Xft.lcdfilter" = "lcddefault"; - "Xft.hintstyle" = "hintfull"; - "Xft.rgba" = "rgb"; - }; - }]; -} diff --git a/desktop/xserver/default.nix b/desktop/xserver/default.nix deleted file mode 100644 index 52b1a21..0000000 --- a/desktop/xserver/default.nix +++ /dev/null @@ -1,9 +0,0 @@ -{ pkgs, ... }: - -{ - services.xserver = { - enable = true; - displayManager.lightdm.enable = false; - excludePackages = [ pkgs.xterm ]; - }; -}