diff options
Diffstat (limited to '')
| -rw-r--r-- | audio.nix | 15 | ||||
| -rw-r--r-- | configuration.nix | 5 | ||||
| -rw-r--r-- | flake.lock | 27 | ||||
| -rw-r--r-- | flake.nix | 8 |
4 files changed, 42 insertions, 13 deletions
@@ -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 = { @@ -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" } } @@ -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 { |
