fixup setup.sh
This commit is contained in:
parent
3eb8e1988f
commit
13ccf8c39d
2 changed files with 14 additions and 8 deletions
12
nix/home-manager/flake.lock
generated
12
nix/home-manager/flake.lock
generated
|
@ -82,11 +82,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1682535786,
|
"lastModified": 1682779989,
|
||||||
"narHash": "sha256-NH2a8yB8V25cglvcHDrvaTLvohzMgGLLZ4vnXQn4vOw=",
|
"narHash": "sha256-H8AjcIBYFYrlRobYJ+n1B+ZJ6TsaaeZpuLn4iRqVvr4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "d82c9af8175878a461a0fdf914e67cc446664570",
|
"rev": "3144311f31194b537808ae6848f86f3dbf977d59",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -205,11 +205,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1682453498,
|
"lastModified": 1682879489,
|
||||||
"narHash": "sha256-WoWiAd7KZt5Eh6n+qojcivaVpnXKqBsVgpixpV2L9CE=",
|
"narHash": "sha256-sASwo8gBt7JDnOOstnps90K1wxmVfyhsTPPNTGBPjjg=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "c8018361fa1d1650ee8d4b96294783cf564e8a7f",
|
"rev": "da45bf6ec7bbcc5d1e14d3795c025199f28e0de0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
10
nix/setup.sh
10
nix/setup.sh
|
@ -8,5 +8,11 @@ nix-channel --update
|
||||||
|
|
||||||
nix-shell '<home-manager>' -A install
|
nix-shell '<home-manager>' -A install
|
||||||
|
|
||||||
nix flake --update
|
nix flake update
|
||||||
home-manager switch --flake "$PWD/home-manager#acicchetti"
|
if [[ $(uname) == "Darwin" ]]; then
|
||||||
|
# we're modern macOS
|
||||||
|
home-manager switch --flake "$PWD/home-manager#aarch64-darwin-acicchetti"
|
||||||
|
else
|
||||||
|
# we're linux
|
||||||
|
home-manager switch --flake "$PWD/home-manager#x86_64-linux-acicchetti"
|
||||||
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue