]> Skullheadx's Git Forge - nixos.git/commitdiff
reformat + add slstatus
authorSkullheadx <admonty1@protonmail.com>
Tue, 28 Apr 2026 23:16:06 +0000 (19:16 -0400)
committerSkullheadx <admonty1@protonmail.com>
Tue, 28 Apr 2026 23:20:34 +0000 (19:20 -0400)
audio.nix
configuration.nix
flake.lock
flake.nix

index c164680de12737331a8c6334191a9d1b07e65b4a..8a3a1e7aad7e1cb36dbbfada30d6e632b232b7a6 100644 (file)
--- a/audio.nix
+++ b/audio.nix
     ];
   };
 
-
-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";
+    };
   };
-};
 
 }
index 5776388fdcc3ce09576a16dc045cd29c6c8d1592..c2225e6c7d22260ee7c8c3b97dcf1f9b67898356 100644 (file)
@@ -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 = {
index e38c7e3f9fbb411979819df0b5d8af63a658a9ee..a52a7605062ea7941c39da93845002cf67cf156f 100644 (file)
         "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": [
     },
     "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"
       }
     }
index 9663745f90450a0b3ca3959fa3a6dc9fe8330fef..48f2a0a9c1635a5a84eacf6e7874380b531232cc 100644 (file)
--- 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 {