diff options
| author | andromeda <andromeda@lenovo> | 2026-01-27 23:58:35 +0100 |
|---|---|---|
| committer | andromeda <andromeda@lenovo> | 2026-01-27 23:58:35 +0100 |
| commit | 1a8986a5d868fe8e860117ca762e41d706dc8150 (patch) | |
| tree | 497113c5c97da6a7759391f26e94d601e92afc1d | |
| parent | 0647d9a8e0d54005b58b286f5caf8e944de3f7f8 (diff) | |
stashdenix
| -rw-r--r-- | .gitignore | 2 | ||||
| -rwxr-xr-x | deploy.sh | 2 | ||||
| -rw-r--r-- | flake.lock | 138 | ||||
| -rw-r--r-- | flake.nix | 10 | ||||
| -rw-r--r-- | modules/nixos/networking/networks/109-199-104-83.nix | 9 |
5 files changed, 144 insertions, 17 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..56a5795 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +result* +.gcroots @@ -2,4 +2,4 @@ # $ ./deploy.sh <hostname> <ip> # example usage: # $ ./deply.sh 109-199-104-83 109.199.104.83 -nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./hardware-configuration.nix --flake .?ref=411ee0c#$1 --target-host root@$2 +nix run github:nix-community/nixos-anywhere -- --generate-hardware-config nixos-generate-config ./hardware-configuration.nix --flake .#$1 --target-host root@$2 @@ -26,7 +26,7 @@ "androidPkgs": { "inputs": { "devshell": "devshell", - "flake-utils": "flake-utils", + "flake-utils": "flake-utils_2", "nixpkgs": "nixpkgs_3" }, "locked": { @@ -212,6 +212,22 @@ "flake-compat": { "flake": false, "locked": { + "lastModified": 1767039857, + "narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=", + "owner": "NixOS", + "repo": "flake-compat", + "rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_2": { + "flake": false, + "locked": { "lastModified": 1761588595, "narHash": "sha256-XKUZz9zewJNUj46b4AJdiRZJAvSZ0Dqj2BNfXvFlJC4=", "owner": "edolstra", @@ -225,7 +241,7 @@ "type": "github" } }, - "flake-compat_2": { + "flake-compat_3": { "flake": false, "locked": { "lastModified": 1751685974, @@ -241,7 +257,7 @@ "url": "https://git.lix.systems/lix-project/flake-compat.git" } }, - "flake-compat_3": { + "flake-compat_4": { "locked": { "lastModified": 1746162366, "narHash": "sha256-5SSSZ/oQkwfcAz/o/6TlejlVGqeK08wyREBQ5qFFPhM=", @@ -321,7 +337,24 @@ }, "flake-utils": { "inputs": { - "systems": "systems_3" + "systems": "systems_2" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "id": "flake-utils", + "type": "indirect" + } + }, + "flake-utils_2": { + "inputs": { + "systems": "systems_4" }, "locked": { "lastModified": 1731533236, @@ -355,11 +388,34 @@ }, "git-hooks": { "inputs": { + "flake-compat": "flake-compat", + "gitignore": "gitignore", + "nixpkgs": [ + "nix-output-monitor", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1769069492, + "narHash": "sha256-Efs3VUPelRduf3PpfPP2ovEB4CXT7vHf8W+xc49RL/U=", + "owner": "cachix", + "repo": "git-hooks.nix", + "rev": "a1ef738813b15cf8ec759bdff5761b027e3e1d23", + "type": "github" + }, + "original": { + "owner": "cachix", + "repo": "git-hooks.nix", + "type": "github" + } + }, + "git-hooks_2": { + "inputs": { "flake-compat": [ "nixos-mailserver", "flake-compat" ], - "gitignore": "gitignore", + "gitignore": "gitignore_2", "nixpkgs": [ "nixos-mailserver", "nixpkgs" @@ -382,6 +438,28 @@ "gitignore": { "inputs": { "nixpkgs": [ + "nix-output-monitor", + "git-hooks", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1709087332, + "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", + "owner": "hercules-ci", + "repo": "gitignore.nix", + "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "gitignore.nix", + "type": "github" + } + }, + "gitignore_2": { + "inputs": { + "nixpkgs": [ "nixos-mailserver", "git-hooks", "nixpkgs" @@ -581,6 +659,28 @@ "type": "github" } }, + "nix-output-monitor": { + "inputs": { + "flake-utils": "flake-utils", + "git-hooks": "git-hooks", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1769432416, + "narHash": "sha256-riBYpg2smGvBDEkcNPZPftPWqAesx5CvJ5CDKUJlZ20=", + "owner": "maralorn", + "repo": "nix-output-monitor", + "rev": "0326f647ef86cc88b1c3ef1e259a6666c0cb4a84", + "type": "github" + }, + "original": { + "owner": "maralorn", + "repo": "nix-output-monitor", + "type": "github" + } + }, "nix-zulip": { "flake": false, "locked": { @@ -600,8 +700,8 @@ "nixos-mailserver": { "inputs": { "blobs": "blobs", - "flake-compat": "flake-compat", - "git-hooks": "git-hooks", + "flake-compat": "flake-compat_2", + "git-hooks": "git-hooks_2", "nixpkgs": [ "nixpkgs" ] @@ -822,14 +922,14 @@ }, "nvf": { "inputs": { - "flake-compat": "flake-compat_2", + "flake-compat": "flake-compat_3", "flake-parts": "flake-parts_2", "mnw": "mnw", "ndg": "ndg", "nixpkgs": [ "nixpkgs" ], - "systems": "systems_2" + "systems": "systems_3" }, "locked": { "lastModified": 1766596669, @@ -848,7 +948,7 @@ "robotnix": { "inputs": { "androidPkgs": "androidPkgs", - "flake-compat": "flake-compat_3", + "flake-compat": "flake-compat_4", "nixpkgs": "nixpkgs_4", "treefmt-nix": "treefmt-nix" }, @@ -873,6 +973,7 @@ "home-manager": "home-manager_2", "impermanence": "impermanence", "nix-on-droid": "nix-on-droid", + "nix-output-monitor": "nix-output-monitor", "nix-zulip": "nix-zulip", "nixos-mailserver": "nixos-mailserver", "nixpkgs": "nixpkgs", @@ -912,7 +1013,7 @@ "nixpkgs" ], "nur": "nur_2", - "systems": "systems_4", + "systems": "systems_5", "tinted-foot": "tinted-foot", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", @@ -993,6 +1094,21 @@ "type": "github" } }, + "systems_5": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "tinted-foot": { "flake": false, "locked": { @@ -22,6 +22,10 @@ url = "github:nix-community/nix-on-droid"; inputs.nixpkgs.follows = "nixpkgs"; }; + nix-output-monitor = { + url = "github:maralorn/nix-output-monitor"; + inputs.nixpkgs.follows = "nixpkgs"; + }; nix-zulip = { url = "git+https://git.afnix.fr/nix-zulip/nix-zulip"; flake = false; @@ -51,6 +55,7 @@ impermanence, nixos-mailserver, nixpkgs, + nix-output-monitor, nix-on-droid, nix-zulip, noshell, @@ -83,6 +88,11 @@ agenix.overlays.default nur.overlays.default nix-zulip'.overlays.default + ( + final: prev: { + nix-output-monitor = nix-output-monitor.packages.${machine.system}.default; + } + ) ]; } ] diff --git a/modules/nixos/networking/networks/109-199-104-83.nix b/modules/nixos/networking/networks/109-199-104-83.nix index ad599b1..acfea17 100644 --- a/modules/nixos/networking/networks/109-199-104-83.nix +++ b/modules/nixos/networking/networks/109-199-104-83.nix @@ -1,6 +1,5 @@ { networking = { - useDHCP = false; hostName = "109-199-104-83"; firewall = { enable = true; @@ -8,8 +7,8 @@ allowedUDPPorts = [80 443]; }; }; - services.cloud-init = { - enable = true; - network.enable = true; - }; + # services.cloud-init = { + # enable = true; + # network.enable = true; + # }; } |
