From 2e1879141e4f442feb4991cc997af162b1dfdfe6 Mon Sep 17 00:00:00 2001 From: Kopatz <7265381+Kropatz@users.noreply.github.com> Date: Tue, 28 Nov 2023 12:57:34 +0100 Subject: [PATCH] add gtk theme --- flake.lock | 24 ++++++++++++------------ flake.nix | 1 - laptop/hyperland.nix | 11 +++++++++-- 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index 75b2d20..e2b2317 100644 --- a/flake.lock +++ b/flake.lock @@ -138,11 +138,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1699159446, - "narHash": "sha256-cL63IjsbPl2otS7R4kdXbVOJOXYMpGw5KGZoWgdCuCM=", + "lastModified": 1701020860, + "narHash": "sha256-NwnRn04C8s+hH+KdVtGmVB1FFNIG7DtPJmQSCBDaET4=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "627bc9b88256379578885a7028c9e791c29fb581", + "rev": "b006ec52fce23b1d57f6ab4a42d7400732e9a0a2", "type": "github" }, "original": { @@ -161,11 +161,11 @@ ] }, "locked": { - "lastModified": 1698222534, - "narHash": "sha256-iF9C7C7eT8LVVWx5IOZ/8KKJT8AIw9A5aBA6vqS18l8=", + "lastModified": 1700665566, + "narHash": "sha256-+AU2AdpA2eHlVwH3LL1qCWCTJyOJwCw/7pwampP3Jy8=", "owner": "nix-community", "repo": "NixOS-WSL", - "rev": "a058cff4b09b3a398d8caa379b4dc96cfedd98c9", + "rev": "a9287f7191467138d6203ea44b3a0b9c745cb145", "type": "github" }, "original": { @@ -192,11 +192,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1699099776, - "narHash": "sha256-X09iKJ27mGsGambGfkKzqvw5esP1L/Rf8H3u3fCqIiU=", + "lastModified": 1700794826, + "narHash": "sha256-RyJTnTNKhO0yqRpDISk03I/4A67/dp96YRxc86YOPgU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "85f1ba3e51676fa8cc604a3d863d729026a6b8eb", + "rev": "5a09cb4b393d58f9ed0d9ca1555016a8543c2ac8", "type": "github" }, "original": { @@ -223,11 +223,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1700671922, - "narHash": "sha256-XPh/AHD14O+oaztjSb53c3Gh9K1JQHNBOTdn0dvtJpM=", + "lastModified": 1701058557, + "narHash": "sha256-fux7HlrnoNs93MN0kET4AfiYwg/expoasndRCFeDRyk=", "owner": "nixos", "repo": "nixpkgs", - "rev": "4784a12198f7434971d5bb8aa6f111acef662ff4", + "rev": "070b5cf9f70bc7ef2dfd739a1f7d6c563fe64bd1", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 0fae6a3..d6ba521 100644 --- a/flake.nix +++ b/flake.nix @@ -157,7 +157,6 @@ ./users/kopatz.nix ({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; }) ./laptop/configuration.nix - ./modules/graphical/gnome.nix ./modules/graphical/shared.nix ./modules/virt-manager.nix ./modules/ssh.nix diff --git a/laptop/hyperland.nix b/laptop/hyperland.nix index 754dd4c..1cd05a1 100644 --- a/laptop/hyperland.nix +++ b/laptop/hyperland.nix @@ -1,4 +1,4 @@ -{ config, pkgs, lib, ... }: +{ config, pkgs, lib, inputs, ... }: let patchedWaybar = pkgs.waybar.overrideAttrs (oldAttrs: { @@ -32,6 +32,13 @@ in home-manager.users.kopatz = { #systemd.user.services.waybar.Service.ExecStart = lib.mkForce "${pkgs.waybar}/bin/waybar -b 0"; + gtk = { + enable = true; + theme = { + name = "palenight"; + package = pkgs.palenight-theme; + }; + }; wayland.windowManager.hyprland = { enable = true; enableNvidiaPatches = true; @@ -222,7 +229,7 @@ in #systemd.enable = true; #systemd.target = "sway-session.target"; settings.main = { - layer = "bottom"; + layer = "top"; position = "bottom"; #output = lib.mapAttrsToList (n: v: v.monitor) outputs; height = 25;