about summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--flake.lock30
-rw-r--r--flake.nix11
-rw-r--r--flake/default.nix4
-rw-r--r--home-manager/packages/default.nix3
-rw-r--r--todo.md1
5 files changed, 49 insertions, 0 deletions
diff --git a/flake.lock b/flake.lock
index c085547a..5ac2623d 100644
--- a/flake.lock
+++ b/flake.lock
@@ -108,6 +108,35 @@
         "type": "github"
       }
     },
+    "flake_update": {
+      "inputs": {
+        "flake-utils": [
+          "flake-utils"
+        ],
+        "nixpkgs": [
+          "nixpkgs"
+        ],
+        "shell_library": [
+          "shell_library"
+        ],
+        "systems": [
+          "systems"
+        ]
+      },
+      "locked": {
+        "lastModified": 1683043164,
+        "narHash": "sha256-4qvPkmY7DMjBLumVOUVwRXpYip78m/3VWJJGL6aeTmY=",
+        "ref": "refs/heads/prime",
+        "rev": "f14ac553db379973863e36060f05cf426f19f0b7",
+        "revCount": 8,
+        "type": "git",
+        "url": "https://codeberg.org/soispha/flake_update.git"
+      },
+      "original": {
+        "type": "git",
+        "url": "https://codeberg.org/soispha/flake_update.git"
+      }
+    },
     "grades": {
       "inputs": {
         "crane": [
@@ -305,6 +334,7 @@
         "crane": "crane",
         "flake-compat": "flake-compat",
         "flake-utils": "flake-utils",
+        "flake_update": "flake_update",
         "grades": "grades",
         "home-manager": "home-manager",
         "impermanence": "impermanence",
diff --git a/flake.nix b/flake.nix
index 0923bd25..7715d24c 100644
--- a/flake.nix
+++ b/flake.nix
@@ -139,6 +139,15 @@
         flake-utils.follows = "flake-utils";
       };
     };
+    flake_update = {
+      url = "git+https://codeberg.org/soispha/flake_update.git";
+      inputs = {
+        nixpkgs.follows = "nixpkgs";
+        systems.follows = "systems";
+        flake-utils.follows = "flake-utils";
+        shell_library.follows = "shell_library";
+      };
+    };
 
     # external resources
     user_js = {
@@ -174,6 +183,7 @@
     yambar_memory,
     yambar_cpu,
     grades,
+    flake_update,
     ...
   }: let
     sysLib = shell_library.lib.${system};
@@ -212,6 +222,7 @@
         yambar_memory
         yambar_cpu
         grades
+        flake_update
         ;
     };
   in
diff --git a/flake/default.nix b/flake/default.nix
index cb090466..705211e1 100644
--- a/flake/default.nix
+++ b/flake/default.nix
@@ -24,6 +24,7 @@
   yambar_memory,
   yambar_cpu,
   grades,
+  flake_update,
 }: let
   homeManagerConfig = {
     home-manager = {
@@ -46,6 +47,7 @@
           river_init_lesser
           grades
           shell_library
+          flake_update
           # external deps
 
           user_js
@@ -95,6 +97,7 @@ in {
       river_init_lesser
       grades
       shell_library
+      flake_update
       # external deps
 
       user_js
@@ -118,3 +121,4 @@ in {
     };
   };
 }
+# vim: ts=2
diff --git a/home-manager/packages/default.nix b/home-manager/packages/default.nix
index afeb771f..fa73373c 100644
--- a/home-manager/packages/default.nix
+++ b/home-manager/packages/default.nix
@@ -4,6 +4,8 @@
   sysLib,
   grades,
   snap-sync,
+  system,
+  flake_update,
   ...
 }:
 with pkgs; let
@@ -175,6 +177,7 @@ in {
   home.packages =
     [
       snap-sync-pkgs
+      flake_update.outputs.packages.${system}.default
       grades.outputs.packages.${system}.default
     ]
     ++ shell-scripts
diff --git a/todo.md b/todo.md
index a1445ae4..6713de8a 100644
--- a/todo.md
+++ b/todo.md
@@ -31,6 +31,7 @@
     - [ ] grub background image
     - [ ] remove nixos-presistend subvol
     - [ ] Use correct drivers for printer instead of raw
+    - [ ] Get flake_update into nixpkgs, and add it to direnv
 - [ ] River
     - [ ] Change the bar to sth else
     - [ ] Set a wallpaper in swaylock