summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Flynn <[email protected]>2025-03-31 03:30:29 -0400
committerSeth Flynn <[email protected]>2025-03-31 03:30:29 -0400
commit93ba9bbca38916d7fb1223420f5cfd05ee06742b (patch)
treefb7f284f04a9f5ac1f0211051e43296081a79f43
parent1d2c93163b6fb039dafbf53020d18d12595ff461 (diff)
nixos/server: `comin` -> `system.autoUpgrade`
-rw-r--r--flake.lock21
-rw-r--r--flake.nix5
-rw-r--r--modules/nixos/mixins/comin.nix14
-rw-r--r--modules/nixos/mixins/default.nix1
-rw-r--r--modules/nixos/profiles/server.nix10
5 files changed, 8 insertions, 43 deletions
diff --git a/flake.lock b/flake.lock
index e1dc518..b97f4b5 100644
--- a/flake.lock
+++ b/flake.lock
@@ -61,26 +61,6 @@
"url": "https://codeberg.org/Codeberg-Infrastructure/build-deploy-forgejo/archive/codeberg-10.tar.gz"
}
},
- "comin": {
- "inputs": {
- "nixpkgs": [
- "nixpkgs"
- ]
- },
- "locked": {
- "lastModified": 1742729530,
- "narHash": "sha256-RHZlqatnXQxpDfAHNmkAjTTISM6AYJK/c2Iigq2rpaU=",
- "owner": "nlewo",
- "repo": "comin",
- "rev": "5d14c2ebac25d74bb1acd90b2a9a96677fc55526",
- "type": "github"
- },
- "original": {
- "owner": "nlewo",
- "repo": "comin",
- "type": "github"
- }
- },
"crane": {
"locked": {
"lastModified": 1741148495,
@@ -444,7 +424,6 @@
"agenix": "agenix",
"catppuccin": "catppuccin",
"codeberg-infra": "codeberg-infra",
- "comin": "comin",
"flake-parts": "flake-parts",
"getchpkgs": "getchpkgs",
"getchvim": "getchvim",
diff --git a/flake.nix b/flake.nix
index 4eaea62..8c9aea3 100644
--- a/flake.nix
+++ b/flake.nix
@@ -72,11 +72,6 @@
flake = false;
};
- comin = {
- url = "github:nlewo/comin";
- inputs.nixpkgs.follows = "nixpkgs";
- };
-
getchpkgs = {
url = "github:getchoo/getchpkgs";
inputs.nixpkgs.follows = "nixpkgs";
diff --git a/modules/nixos/mixins/comin.nix b/modules/nixos/mixins/comin.nix
deleted file mode 100644
index b02aab6..0000000
--- a/modules/nixos/mixins/comin.nix
+++ /dev/null
@@ -1,14 +0,0 @@
-{ inputs, ... }:
-
-{
- imports = [ inputs.comin.nixosModules.comin ];
-
- services.comin = {
- remotes = [
- {
- name = "origin";
- url = "https://github.com/getchoo/borealis.git";
- }
- ];
- };
-}
diff --git a/modules/nixos/mixins/default.nix b/modules/nixos/mixins/default.nix
index 7d66a47..70f0fad 100644
--- a/modules/nixos/mixins/default.nix
+++ b/modules/nixos/mixins/default.nix
@@ -4,7 +4,6 @@
./agenix.nix
./budgie.nix
./catppuccin.nix
- ./comin.nix
./forgejo.nix
./gnome.nix
./grafana.nix
diff --git a/modules/nixos/profiles/server.nix b/modules/nixos/profiles/server.nix
index f8cb0ab..d7ebee4 100644
--- a/modules/nixos/profiles/server.nix
+++ b/modules/nixos/profiles/server.nix
@@ -56,8 +56,6 @@ in
};
services = {
- comin.enable = true;
-
tailscale = {
enable = true;
@@ -66,6 +64,14 @@ in
};
};
+ system.autoUpgrade = {
+ enable = true;
+
+ dates = "hourly";
+ flake = "github:getchoo/borealis#${config.networking.hostName}";
+ flags = [ "--refresh" ];
+ };
+
# I use exclusively Tailscale auth on some machines
users.allowNoPasswordLogin = true;