From 4cd32f7223c004b70cd73fb0d8d3b0aa26836d8b Mon Sep 17 00:00:00 2001
From: hotsocket
Date: Sun, 24 Aug 2025 00:54:17 -0500
Subject: [PATCH] autoupdate :D
---
capabilities/autoupdate.nix | 15 +++++++++++++++
flake.nix | 4 ++--
todo.md | 7 +++++++
3 files changed, 24 insertions(+), 2 deletions(-)
create mode 100644 capabilities/autoupdate.nix
create mode 100644 todo.md
diff --git a/capabilities/autoupdate.nix b/capabilities/autoupdate.nix
new file mode 100644
index 0000000..18b278b
--- /dev/null
+++ b/capabilities/autoupdate.nix
@@ -0,0 +1,15 @@
+{ config, lib, pkgs, ... }:
+{
+ system.autoUpgrade = {
+ enable = true;
+ flake = "git+https://tangled.sh/@hotsocket.fyi/nix";
+ flags = [
+ "--update-input" "nixpkgs"
+ "--update-input" "nixpkgs-unstabe"
+ "--update-input" "home-manager"
+ "--no-write-lock-file"
+ "-L"
+ ];
+ dates = "daily";
+ };
+}
\ No newline at end of file
diff --git a/flake.nix b/flake.nix
index 023cc30..81c59b2 100644
--- a/flake.nix
+++ b/flake.nix
@@ -21,11 +21,10 @@
home-manager.nixosModules.home-manager
./common
./workstation.nix
+ ./capabilities/autoupdate.nix
./capabilities/bluetooth.nix
-
./hosts/yaoi.nix
./users/hotsocket.nix
-
# *scoots away*
./nonfree/_allow.nix
./nonfree/steam.nix
@@ -39,6 +38,7 @@
home-manager.nixosModules.home-manager
./common
./workstation.nix
+ ./capabilities/autoupdate.nix
./capabilities/bluetooth.nix
./hosts/yuri.nix
./users/hotsocket.nix
diff --git a/todo.md b/todo.md
new file mode 100644
index 0000000..f180d70
--- /dev/null
+++ b/todo.md
@@ -0,0 +1,7 @@
+
+### "big picture"-ish
+ - [ ] mash www config into this repo
+ - [ ] figure out something for partitioning since disko is apparently fucked
+
+### autoupdate stuff
+ - [ ] figure out kpatch... maybe.
--
2.51.2
|