From a8b54dbfb4c11dbe39e944f068ccb88a152d3300 Mon Sep 17 00:00:00 2001 From: kenny Date: Mon, 28 Jul 2025 14:56:16 +0300 Subject: [PATCH] nix flake update --- flake.lock | 6 +++--- t updateqqqqqqaa | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 t updateqqqqqqaa diff --git a/flake.lock b/flake.lock index 369f1fe..9f53bb3 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1753250450, - "narHash": "sha256-i+CQV2rPmP8wHxj0aq4siYyohHwVlsh40kV89f3nw1s=", + "lastModified": 1753549186, + "narHash": "sha256-Znl7rzuxKg/Mdm6AhimcKynM7V3YeNDIcLjBuoBcmNs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "fc02ee70efb805d3b2865908a13ddd4474557ecf", + "rev": "17f6bd177404d6d43017595c5264756764444ab8", "type": "github" }, "original": { diff --git a/t updateqqqqqqaa b/t updateqqqqqqaa new file mode 100644 index 0000000..3609865 --- /dev/null +++ b/t updateqqqqqqaa @@ -0,0 +1,32 @@ +update-config: + alejandra . + nix flake update + git add . + git commit + sudo nixos-rebuild switch --upgrade --flake ~/haus#puter + git push + +update: + nix flake update + git add . + git commit -m "nix flake update" + sudo nixos-rebuild switch --upgrade --flake ~/haus#puter + git push + +update-and-reboot: + nix flake update + git add . + git commit -m "nix flake update" + sudo nixos-rebuild boot --upgrade --flake ~/haus#puter + git push + +update-config-and-reboot: + alejandra . + nix flake update + git add . + git commit + sudo nixos-rebuild boot --upgrade --flake ~/haus#puter + git push + +upgrade: + sudo nixos-rebuild switch --upgrade --flake ~/haus#puter