From 938fefdd94f381bd33fbe7ed043ca130f5cfc623 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Sun, 10 Sep 2023 17:23:24 +0100 Subject: [PATCH] Bring flakeURL back --- flake.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 018f2a29..c5c8ee35 100644 --- a/flake.nix +++ b/flake.nix @@ -48,6 +48,7 @@ outputs = { self, nixpkgs, ... }@inputs: let + flakeURL = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main"; catppuccin-themes = with inputs; { alacritty = "${catppuccin-alacritty}/catppuccin-mocha.yml"; bat = "${catppuccin-bat}/Catppuccin-mocha.tmTheme"; @@ -126,7 +127,7 @@ environment = { localBinInPath = true; shellAliases.nou = - ''sudo nixos-rebuild switch --flake "${self}"''; + ''sudo nixos-rebuild switch --flake "${flakeURL}"''; }; services = { power-profiles-daemon.enable = true; @@ -153,7 +154,7 @@ programs.${shell}.enable = true; system = { inherit stateVersion; - autoUpgrade.flake = self; + autoUpgrade.flake = flakeURL; }; users.users.${user} = { inherit group;