diff options
Diffstat (limited to 'nix')
| -rw-r--r-- | nix/flake.lock | 6 | ||||
| -rw-r--r-- | nix/flake.nix | 20 | ||||
| -rw-r--r-- | nix/readme.org | 4 |
3 files changed, 15 insertions, 15 deletions
diff --git a/nix/flake.lock b/nix/flake.lock index 3f272ee..c4d98f4 100644 --- a/nix/flake.lock +++ b/nix/flake.lock @@ -53,11 +53,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1728018373, - "narHash": "sha256-NOiTvBbRLIOe5F6RbHaAh6++BNjsb149fGZd1T4+KBg=", + "lastModified": 1781074563, + "narHash": "sha256-md8WlXOlfnIeHeOScMTTHFyf2d6iaTwPl2apR5EQ3P4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "bc947f541ae55e999ffdb4013441347d83b00feb", + "rev": "9ae611a455b90cf061d8f332b977e387bda8e1ca", "type": "github" }, "original": { diff --git a/nix/flake.nix b/nix/flake.nix index b422c9a..2c0dbfb 100644 --- a/nix/flake.nix +++ b/nix/flake.nix @@ -17,7 +17,7 @@ overrides = prev.lib.composeExtensions (old.overrides or (_: _: { })) ( hself: hsuper: { xmobar = prev.haskell.lib.compose.dontCheck ( - hself.callCabal2nix "xmobar" (git-ignore-nix.lib.gitignoreSource ./.) { } + hself.callCabal2nix "xmobar" (git-ignore-nix.lib.gitignoreSource ../.) { } ); } ); @@ -32,15 +32,15 @@ let pkgs = import nixpkgs { inherit system overlays; }; dynamicLibraries = with pkgs; [ - xorg.libX11 - xorg.libXrandr - xorg.libXrender - xorg.libXScrnSaver - xorg.libXext - xorg.libXft - xorg.libXpm.out - xorg.libXrandr - xorg.libXrender + libX11 + libXrandr + libXrender + libXScrnSaver + libXext + libXft + libXpm.out + libXrandr + libXrender ]; in { diff --git a/nix/readme.org b/nix/readme.org index d83d232..6a492e5 100644 --- a/nix/readme.org +++ b/nix/readme.org @@ -29,7 +29,7 @@ Here is how to set it up: home.stateversion = "24.05"; imports = [ - inputs.nixmobar.homemodules.mainmodule + inputs.nixmobar.homeModules.mainmodule # Other imports go here. ]; @@ -67,7 +67,7 @@ Here is how to set it up: Run MultiCoreTemp ["-t", "<fc=#bd93f9><fn=1>\xf2c9</fn></fc><avg>°", "-L", "60", "-H", "95", "-l", "white", "-n", "white", "-h", "red"] 50, Run CatInt 0 "/sys/class/hwmon/hwmon4/fan1_input" [] 50, Run MultiCpu ["-t", "<fc=#bd93f9><fn=1>\xf4bc</fn></fc> <vbar0><vbar1><vbar2><vbar3><vbar4><vbar5><vbar6><vbar7>", "-w", "99", "-L", "3", "-H", "50", "--normal", "green", "--high", "red"] 10, - Run BatteryP ["BAT0"] ["-t", "<fc=#bd93f9><fn=1></fn></fc><left>%", "-L", "10", "-H", "80", "-p", "3", "--", "-O", "<fc=green>On</fc> - ", "-i", "", "-L", "-15", "-H", "-5", "-l", "red", "-m", "blue", "-h", "green", "-a", "notify-send -u critical 'Battery running out!!'", "-A", "3"] 600, + Run BatteryP ["BAT0"] ["-t", "<fc=#bd93f9><fn=1></fn></fc><left>%", "-L", "10", "-H", "80", "-p", "3", "--", "-O", "<fc=green>On</fc> - ", "-i", "", "-L", "-15", "-H", "-5", "-l", "red", "-m", "blue", "-h", "green", "-a", "notify-once \"xmobar\" -u critical 'Battery running out!!'", "-A", "3"] 600, Run Alsa "default" "Master" ["-t", "<fc=#bd93f9><fn=1>\xf028</fn></fc> <volume>%"], Run Date "%a %_d %b %H:%M:%S" "date" 10, Run Load ["-t", "<fc=#bd93f9><fn=0>L</fn></fc><load1>", "-L", "1", "-H", "3", "-d", "2"] 300, |
