From 3c2c5bbb946db0651db40c15e2cbcebfbc34ba81 Mon Sep 17 00:00:00 2001 From: beanigen Date: Wed, 5 Feb 2025 10:18:21 +0800 Subject: [PATCH] fix nixgl --- flake.nix | 11 +++++++++++ home/packages.nix | 1 + home/waybar/style.css | 5 +++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e6d3071..f549e79 100644 --- a/flake.nix +++ b/flake.nix @@ -33,6 +33,17 @@ ]; }; #other confs go here, cant be assed rn + homeConfigurations.generic = home-manager.lib.homeManagerConfiguration { + pkgs = import nixpkgs { system = "x86_64-linux"; overlays = [inputs.nixgl.overlay]; }; + modules = [ ./home ]; + extraSpecialArgs = { + inherit inputs; + vars = { + isNixOS = false; + class = "laptop"; + }; + }; + }; }; } diff --git a/home/packages.nix b/home/packages.nix index d9456aa..6f4b48e 100644 --- a/home/packages.nix +++ b/home/packages.nix @@ -11,6 +11,7 @@ emacs comma openscad + nixgl.nixGLIntel openutau wlr-randr grim diff --git a/home/waybar/style.css b/home/waybar/style.css index 9c9a6d6..7d65077 100644 --- a/home/waybar/style.css +++ b/home/waybar/style.css @@ -1,4 +1,4 @@ -@import "/nix/store/f9wv2p1q7wvqygsic1pkdgrxlid2cmw3-waybar-ee8ed32/mocha.css"; +@import "/home/maya/.config/nixos/home/waybar/mocha.css"; * { font-family: Iosevka NF; } @@ -10,7 +10,8 @@ window#waybar { } #clock, #wireplumber, -#mpd { +#mpd, +#battery { padding: 5px; border-radius: 10px; border: 0.2em solid #cba6f7;