From: Skullheadx Date: Tue, 28 Apr 2026 23:16:06 +0000 (-0400) Subject: reformat + add slstatus X-Git-Url: http://git.skullheadx.com/tech/index.html?a=commitdiff_plain;h=40c40c507eca5bd7489c827a21262551a6e0bcdd;p=nixos.git reformat + add slstatus --- diff --git a/audio.nix b/audio.nix index c164680..8a3a1e7 100644 --- a/audio.nix +++ b/audio.nix @@ -29,14 +29,13 @@ ]; }; - -systemd.user.services.mpd = { - description = "Music Player Daemon"; - wantedBy = [ "default.target" ]; - serviceConfig = { - ExecStart = "${pkgs.mpd}/bin/mpd --no-daemon /home/andrew/.config/mpd/mpd.conf"; - Restart = "on-failure"; + systemd.user.services.mpd = { + description = "Music Player Daemon"; + wantedBy = [ "default.target" ]; + serviceConfig = { + ExecStart = "${pkgs.mpd}/bin/mpd --no-daemon /home/andrew/.config/mpd/mpd.conf"; + Restart = "on-failure"; + }; }; -}; } diff --git a/configuration.nix b/configuration.nix index 5776388..c2225e6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,4 +1,4 @@ -{ config, pkgs, ... }: +{ config, pkgs, inputs, ... }: { imports = [ ./hardware-configuration.nix @@ -60,7 +60,8 @@ slop xclip xdotool -gcc + gcc + inputs.my-slstatus.packages.${pkgs.stdenv.hostPlatform.system}.default ]; programs.git = { diff --git a/flake.lock b/flake.lock index e38c7e3..a52a760 100644 --- a/flake.lock +++ b/flake.lock @@ -21,6 +21,26 @@ "type": "github" } }, + "my-slstatus": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1777417919, + "narHash": "sha256-dms4PU5f3/z+/jRfrUFi/gseXW83hotPR26MR1PFnEw=", + "owner": "Skullheadx", + "repo": "slstatus", + "rev": "c870215c310e4c03b8007c4a7b59fe75ba7167d0", + "type": "github" + }, + "original": { + "owner": "Skullheadx", + "repo": "slstatus", + "type": "github" + } + }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -44,11 +64,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1776877367, - "narHash": "sha256-EHq1/OX139R1RvBzOJ0aMRT3xnWyqtHBRUBuO1gFzjI=", + "lastModified": 1777268161, + "narHash": "sha256-bxrdOn8SCOv8tN4JbTF/TXq7kjo9ag4M+C8yzzIRYbE=", "owner": "nixos", "repo": "nixpkgs", - "rev": "0726a0ecb6d4e08f6adced58726b95db924cef57", + "rev": "1c3fe55ad329cbcb28471bb30f05c9827f724c76", "type": "github" }, "original": { @@ -61,6 +81,7 @@ "root": { "inputs": { "hjem": "hjem", + "my-slstatus": "my-slstatus", "nixpkgs": "nixpkgs" } } diff --git a/flake.nix b/flake.nix index 9663745..48f2a0a 100644 --- a/flake.nix +++ b/flake.nix @@ -8,12 +8,20 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + my-slstatus = { + url = "github:Skullheadx/slstatus"; + inputs.nixpkgs.follows = "nixpkgs"; + + }; + }; outputs = { self, nixpkgs, hjem, + my-slstatus, + }@inputs: { nixosConfigurations.nepsis = nixpkgs.lib.nixosSystem {