summary refs log tree commit diff
path: root/mixins
diff options
context:
space:
mode:
Diffstat (limited to 'mixins')
-rw-r--r--mixins/cli.nix4
-rw-r--r--mixins/sway.nix26
2 files changed, 15 insertions, 15 deletions
diff --git a/mixins/cli.nix b/mixins/cli.nix
index ca6d55d..6560e4b 100644
--- a/mixins/cli.nix
+++ b/mixins/cli.nix
@@ -31,8 +31,8 @@
             l = "ls -alh";
           };
           functions = {
-            sb.body = "sudo nixos-rebuild build --flake ~/sources/nixcfg#(hostname)";
-            sw.body = "sudo nixos-rebuild switch --flake ~/sources/nixcfg#(hostname)";
+            sb.body = "sudo nixos-rebuild build --flake git+ssh://tzlil@100.99.246.128/home/tzlil/newflake";
+            sw.body = "sudo nixos-rebuild switch --flake git+ssh://tzlil@100.99.246.128/home/tzlil/newflake";
           };
         };
       };
diff --git a/mixins/sway.nix b/mixins/sway.nix
index db78c5c..c1dffa4 100644
--- a/mixins/sway.nix
+++ b/mixins/sway.nix
@@ -84,13 +84,13 @@ in {
   in {
     enable = false;
     systemdTarget = "graphical-session.target";
-    timeouts = [
-      # auto-lock after 30 seconds
-      {
-        timeout = 30;
-        command = fadelock.outPath;
-      }
-    ];
+    # timeouts = [
+    #   # auto-lock after 30 seconds
+    #   {
+    #     timeout = 30;
+    #     command = fadelock.outPath;
+    #   }
+    # ];
     events = [
       {
         event = "before-sleep";
@@ -213,12 +213,12 @@ in {
     };
     extraConfig = ''
       exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway
-      exec ${pkgs.swayidle}/bin/swayidle -w \
-      	timeout 300 '${pkgs.swaylock}/bin/swaylock -f -c 000000' \
-      	timeout 600 'swaymsg "output * dpms off"' \
-      	resume 'swaymsg "output * dpms on"' \
-      	before-sleep '${pkgs.swaylock}/bin/swaylock -f -c 000000'
-      exec ${pkgs.polkit_gnome}/polkit-gnome/polkit-gnome-authentication-agent-1
+      # exec ${pkgs.swayidle}/bin/swayidle -w \
+      # 	timeout 300 '${pkgs.swaylock}/bin/swaylock -f -c 000000' \
+      # 	timeout 600 'swaymsg "output * dpms off"' \
+      # 	resume 'swaymsg "output * dpms on"' \
+      # 	before-sleep '${pkgs.swaylock}/bin/swaylock -f -c 000000'
+      # exec ${pkgs.polkit_gnome}/polkit-gnome/polkit-gnome-authentication-agent-1
 
       #set $mod Alt
       set $mod Mod4