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: outputs = { self, nixpkgs, ... }@inputs:
let let
flakeURL = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
catppuccin-themes = with inputs; { catppuccin-themes = with inputs; {
alacritty = "${catppuccin-alacritty}/catppuccin-mocha.yml"; alacritty = "${catppuccin-alacritty}/catppuccin-mocha.yml";
bat = "${catppuccin-bat}/Catppuccin-mocha.tmTheme"; bat = "${catppuccin-bat}/Catppuccin-mocha.tmTheme";
@ -126,7 +127,7 @@
environment = { environment = {
localBinInPath = true; localBinInPath = true;
shellAliases.nou = shellAliases.nou =
''sudo nixos-rebuild switch --flake "${self}"''; ''sudo nixos-rebuild switch --flake "${flakeURL}"'';
}; };
services = { services = {
power-profiles-daemon.enable = true; power-profiles-daemon.enable = true;
@ -153,7 +154,7 @@
programs.${shell}.enable = true; programs.${shell}.enable = true;
system = { system = {
inherit stateVersion; inherit stateVersion;
autoUpgrade.flake = self; autoUpgrade.flake = flakeURL;
}; };
users.users.${user} = { users.users.${user} = {
inherit group; inherit group;