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.