From 50e64761eea7e51a0dda78f634bf2072d37c45ae Mon Sep 17 00:00:00 2001 From: Christine Elisabeth Koppel Date: Sun, 22 Mar 2026 15:41:45 +0100 Subject: [PATCH] Update the sway desktop manager fetching of home-manager to not use the cache'd version to prevent erroneous mismatch between different machines despite the same url and upstream channel --- README.md | 5 +++-- flake.lock | 12 ++++++------ .../desktop-manager/sway_greetd_homemanager.nix | 4 ++-- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 4674646..cadef2a 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ TODO HECK - [x] Find a more clean way to store initial passwords (.env??) -> [nix-sops](https://github.com/Mic92/sops-nix) - [x] Create proper build automation scripts -> Needs to be properly done. - [ ] Attach more NixOS weblinks... - - [ ] Update Forgejo Styling + - [x] Update Forgejo Styling - [x] Figure out what the ***hecc*** to do with SSL Certifications in the most elegant way -> Use Traefik - [x] Add Git Actions to Forgejo -> It was already added, just need to setup the CI itself. - [x] Setup the CI backend. @@ -26,8 +26,9 @@ TODO HECK - [ ] Read up more about how to a backup machine stuff and making it Nix-y... - [ ] Figure out my life - [ ] Setup Hardware Keys - - [x] Setup a VPN + - [ ] Setup a VPN, needs to be setup as module - [ ] Setup Alejandra pre-commit hook + - [ ] Document the need to do `nix flake update` when the home-manager flake version mismatch gets too apparent. ## NOTES FOR FUTURE diff --git a/flake.lock b/flake.lock index 06145b8..e432da3 100644 --- a/flake.lock +++ b/flake.lock @@ -23,11 +23,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1773802295, - "narHash": "sha256-luPLLgS8VR2fHo3xT04KbJm0RU2wep6SDh3smwF8e5E=", + "lastModified": 1774060651, + "narHash": "sha256-sZiam+rmNcOZGnlbnqDD9oTwfMdQUM+uQmFqqSoe194=", "owner": "Infinidoge", "repo": "nix-minecraft", - "rev": "41870283e080c46a6d33b6c3b3923e90348254c3", + "rev": "46727bd27d32d63069ed26a690554373ae2b4702", "type": "github" }, "original": { @@ -54,11 +54,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1770770419, - "narHash": "sha256-iKZMkr6Cm9JzWlRYW/VPoL0A9jVKtZYiU4zSrVeetIs=", + "lastModified": 1773964973, + "narHash": "sha256-NV/J+tTER0P5iJhUDL/8HO5MDjDceLQPRUYgdmy5wXw=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "6c5e707c6b5339359a9a9e215c5e66d6d802fd7a", + "rev": "812b3986fd1568f7a858f97fcf425ad996ba7d25", "type": "github" }, "original": { diff --git a/nix-system-configs/modules/desktop-manager/sway_greetd_homemanager.nix b/nix-system-configs/modules/desktop-manager/sway_greetd_homemanager.nix index 21fc542..0f5a6aa 100644 --- a/nix-system-configs/modules/desktop-manager/sway_greetd_homemanager.nix +++ b/nix-system-configs/modules/desktop-manager/sway_greetd_homemanager.nix @@ -5,8 +5,8 @@ ... }: let home-manager = builtins.fetchTarball { - url = "https://github.com/nix-community/home-manager/archive/release-25.11.tar.gz"; - sha256 = "069hh8az6v2bskdscaw17z5rks5zia21ay3p6sa5cii6abd9ify4"; + url = "https://github.com/nix-community/home-manager/archive/release-25.11.tar.gz?nocache=1"; + sha256 = "WzBOBfSay3GYilUfKaUa1Mbf8/jtuAiJIedx7fWuIX4="; }; cfg = config.services.forgejo; srv = cfg.settings.server;