Bring flakeURL back

This commit is contained in:
Evie Litherland-Smith 2023-09-10 17:23:24 +01:00
parent d67e2123a7
commit 938fefdd94

View file

@ -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;