]> Skullheadx's Git Forge - nixos.git/commitdiff
format
authorSkullheadx <admonty1@protonmail.com>
Sat, 16 May 2026 21:25:34 +0000 (17:25 -0400)
committerSkullheadx <admonty1@protonmail.com>
Sat, 16 May 2026 21:25:34 +0000 (17:25 -0400)
configuration.nix
hjem.nix
overlays.nix
scripts/surf_search.nix
x11.nix

index 5e130fd95a491420ec1974e4f8b1e8623b3757f8..6ea890e7ef1ca4ce740843ef6fb865b19f7fb592 100644 (file)
     # programs here, NOT in environment.systemPackages
   ];
 
-    environment.sessionVariables = {
-      BROWSER = "surf";
-      SFEED_PLUMBER = "$BROWSER"; 
-      SFEED_URL_FILE = "$HOME/.local/share/sfeed/sfeed_read_url_file";
-    };
-
+  environment.sessionVariables = {
+    BROWSER = "surf";
+    SFEED_PLUMBER = "$BROWSER";
+    SFEED_URL_FILE = "$HOME/.local/share/sfeed/sfeed_read_url_file";
+  };
 
   # Some programs need SUID wrappers, can be configured further or are
   # started in user sessions.
 
   # Services
   services.openssh.enable = true;
+  services.rsync = {
+    enable = true;
+  };
 
   # Open ports in the firewall.
   # networking.firewall.allowedTCPPorts = [ ... ];
index c0d5219775926526f855e474c1d17c6e9afccbf0..d168f16d69ef6d55cd4748dd15ad4b02aac6859e 100644 (file)
--- a/hjem.nix
+++ b/hjem.nix
@@ -20,8 +20,7 @@
       ".config/surf/styles/default.css".source = ./dotfiles/surf/styles/default.css;
       ".config/surf/script.js".source = ./dotfiles/surf/script.js;
 
-
-        ".sfeed/sfeedrc".source = ./dotfiles/sfeed/sfeedrc;
+      ".sfeed/sfeedrc".source = ./dotfiles/sfeed/sfeedrc;
 
     };
 
 
   systemd.user.services."sfeed-update" = {
     description = "Update sfeed RSS feeds";
-    path = with pkgs; [ curl sfeed coreutils];
+    path = with pkgs; [
+      curl
+      sfeed
+      coreutils
+    ];
     serviceConfig = {
       Type = "oneshot";
       ExecStart = "${pkgs.sfeed}/bin/sfeed_update";
@@ -56,5 +59,4 @@
     wantedBy = [ "timers.target" ];
   };
 
-
 }
index 8f51940f36f013479f6f2cd51fab484a99cd3671..7b7f25dcd4a172cfbcdbe35ac2ab8cb4bf86e42a 100644 (file)
@@ -8,10 +8,9 @@
       scrolling-title = import ./scripts/scrolling-title.nix { pkgs = prev; };
     })
     (final: prev: {
-       surf_search = import ./scripts/surf_search.nix { pkgs = prev; };
+      surf_search = import ./scripts/surf_search.nix { pkgs = prev; };
     })
 
-
     (final: prev: {
       slstatus = inputs.my-slstatus.packages.${pkgs.stdenv.hostPlatform.system}.default;
     })
index 233a121db445de20c28e1a53cd3a660e174c7fe7..e186bdb083a7fc0008fa7f0fae0a3ed1d8ecb349 100644 (file)
@@ -2,16 +2,17 @@
 pkgs.writeShellApplication {
   name = "surf_search";
   runtimeInputs = with pkgs; [
-            dmenu
-            xprop
-            gnused
-            coreutils
+    dmenu
+    xprop
+    gnused
+    coreutils
   ];
   text = builtins.readFile (
-          pkgs.replaceVars ../dotfiles/surf/surf.sh {
-            dmenu = pkgs.dmenu;
-            xprop = pkgs.xprop;
-            gnused = pkgs.gnused;
-            coreutils = pkgs.coreutils;
-          }
-        );}
+    pkgs.replaceVars ../dotfiles/surf/surf.sh {
+      dmenu = pkgs.dmenu;
+      xprop = pkgs.xprop;
+      gnused = pkgs.gnused;
+      coreutils = pkgs.coreutils;
+    }
+  );
+}
diff --git a/x11.nix b/x11.nix
index d999607b2e51f0038629f78c0246bc77bf4d2cd0..743ffd0f79e3d850438a223b53a0d85f5c40ef3d 100644 (file)
--- a/x11.nix
+++ b/x11.nix
@@ -51,7 +51,6 @@
     enable = true;
   };
 
-
   hjem.users.andrew = {
     files = {
       ".config/sxhkd/sxhkdrc".text = builtins.readFile (
     };
   };
 
-systemd.user.services.sxhkd = {
-  description = "Simple X Hot Key Daemon (sxhkd)";
+  systemd.user.services.sxhkd = {
+    description = "Simple X Hot Key Daemon (sxhkd)";
 
-  path = with pkgs; [
-           dmenu
-           st
+    path = with pkgs; [
+      dmenu
+      st
 
-           pamixer
+      pamixer
 
-           maim
-           xdotool
-           xclip
+      maim
+      xdotool
+      xclip
 
-           lock-screen
+      lock-screen
 
-           sfeed
+      sfeed
 
-           rmpc
-           mpc
+      rmpc
+      mpc
 
-           surf
-           librewolf
-           surf_search
-  ];
+      surf
+      librewolf
+      surf_search
+    ];
 
-  environment = {
-      SFEED_PLUMBER = "surf"; 
+    environment = {
+      SFEED_PLUMBER = "surf";
       SFEED_URL_FILE = "/home/andrew/.local/share/sfeed/sfeed_read_url_file";
-  };
-  
-  serviceConfig = {
-    ExecStart = "${pkgs.sxhkd}/bin/sxhkd";
-    Restart = "on-failure";
-  };
-  wantedBy = [ "graphical-session.target" ];
-};
-
+    };
 
+    serviceConfig = {
+      ExecStart = "${pkgs.sxhkd}/bin/sxhkd";
+      Restart = "on-failure";
+    };
+    wantedBy = [ "graphical-session.target" ];
+  };
 
   systemd.user.services.slstatus = {
     description = "slstatus bar";
     wantedBy = [ "graphical-session.target" ];
-    
-    path = with pkgs; [ 
-        pamixer
-        scrolling-title
+
+    path = with pkgs; [
+      pamixer
+      scrolling-title
     ];
 
     serviceConfig = {
       ExecStart = "${pkgs.slstatus}/bin/slstatus";
-      
+
       Restart = "always";
       RestartSec = "1s";
     };