Store nix version in common config file
This commit is contained in:
parent
1ba4113e56
commit
772b7adc0b
3 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -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
1
scripts/config.fish
Normal file
|
@ -0,0 +1 @@
|
|||
set nixVersion nixos-24.05
|
Loading…
Reference in a new issue