Store nix version in common config file

This commit is contained in:
Manuel Thalmann 2024-11-01 01:40:16 +01:00
parent 1ba4113e56
commit 772b7adc0b
3 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#!/bin/env fish
begin
set -l nixVersion nixos-24.05
source "$(status dirname)/../../scripts/config.fish"
set -l projectName archiso-valhalla
set -l overlayDir (mktemp -d)
set -l upperDir (mktemp -d)

View file

@ -5,7 +5,7 @@ source "$dir/../Scripts/settings.fish"
source "$dir/../Scripts/hooks.fish"
if [ (id -u) -eq 0 ]
set -l nixVersion nixos-24.05
source "$dir/../../config.fish"
set -l sudoConfig "/etc/sudoers.d/PortValhalla"
set -l channelDir /nix/var/nix/profiles/per-user/root/channels/nixpkgs
rm ~/.bash_profile

1
scripts/config.fish Normal file
View file

@ -0,0 +1 @@
set nixVersion nixos-24.05