summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--flake.lock22
-rw-r--r--flake.nix7
-rw-r--r--sys/services/restic/default.nix6
-rw-r--r--users/sils/packages/default.nix4
4 files changed, 38 insertions, 1 deletions
diff --git a/flake.lock b/flake.lock
index 3098b4c..458deeb 100644
--- a/flake.lock
+++ b/flake.lock
@@ -796,6 +796,7 @@
         "rust-overlay": "rust-overlay_2",
         "shell_library": "shell_library",
         "systems": "systems_4",
+        "wl-togglescreens": "wl-togglescreens",
         "yambar_cpu": "yambar_cpu",
         "yambar_memory": "yambar_memory"
       }
@@ -977,6 +978,27 @@
         "type": "github"
       }
     },
+    "wl-togglescreens": {
+      "inputs": {
+        "nixpkgs": [
+          "nixpkgs"
+        ]
+      },
+      "locked": {
+        "lastModified": 1696950026,
+        "narHash": "sha256-+uj4G2bf+cCh3EgAfZzWzzu9keA6W0oEzM/SasNH5lw=",
+        "ref": "main",
+        "rev": "5ae8ab2e87fa345330e33604361a18b58a68cd4c",
+        "revCount": 11,
+        "type": "git",
+        "url": "https://git.project-insanity.org/onny/wl-togglescreens.git"
+      },
+      "original": {
+        "ref": "main",
+        "type": "git",
+        "url": "https://git.project-insanity.org/onny/wl-togglescreens.git"
+      }
+    },
     "yambar_cpu": {
       "inputs": {
         "crane": [
diff --git a/flake.nix b/flake.nix
index 42ade2d..39387a2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -98,6 +98,10 @@
     prismlauncher = {
       url = "github:PrismLauncher/PrismLauncher";
     };
+    wl-togglescreens = {
+      url = "git+https://git.project-insanity.org/onny/wl-togglescreens.git?ref=main";
+      inputs.nixpkgs.follows = "nixpkgs";
+    };
   };
   #}}}
   outputs = {
@@ -113,6 +117,7 @@
     lanzaboote,
     nixvim,
     impermanence,
+    wl-togglescreens,
     ...
   } @ attrs: let
     system = "x86_64-linux";
@@ -130,7 +135,7 @@
           useGlobalPkgs = true;
           useUserPackages = true;
           users.sils = import ./users/sils;
-          extraSpecialArgs = {inherit pkgs system sysLib river_init_lesser yambar_cpu yambar_memory prismlauncher nixvim impermanence;};
+          extraSpecialArgs = {inherit pkgs system sysLib river_init_lesser yambar_cpu yambar_memory prismlauncher nixvim impermanence wl-togglescreens;};
         };
       }
     ];
diff --git a/sys/services/restic/default.nix b/sys/services/restic/default.nix
new file mode 100644
index 0000000..0d02cd4
--- /dev/null
+++ b/sys/services/restic/default.nix
@@ -0,0 +1,6 @@
+{...}: {
+  services.restic.backups = {
+    backuphome = {
+    };
+  };
+}
diff --git a/users/sils/packages/default.nix b/users/sils/packages/default.nix
index 9fb1b87..521e841 100644
--- a/users/sils/packages/default.nix
+++ b/users/sils/packages/default.nix
@@ -2,6 +2,7 @@
   system,
   pkgs,
   prismlauncher,
+  wl-togglescreens,
   ...
 }: {
   home.packages = with pkgs;
@@ -136,6 +137,9 @@
     swaybg # wallpaper
     prismlauncher.packages.${pkgs.system}.prismlauncher # minecraft-launcher
 
+
+    wl-togglescreens.packages.${pkgs.system}.wl-togglescreens # toggle screens
+
     # soispha
 
     #grades.outputs.packages.${system}.default