Compare commits
No commits in common. "1cffdd7818f211b0da559fe80ad592626f16cbd7" and "0b82c152558e273d86909d46560e107915e109e1" have entirely different histories.
1cffdd7818
...
0b82c15255
3 changed files with 6 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
let
|
||||
inherit (builtins) currentSystem filter mapAttrs;
|
||||
inherit (builtins) mapAttrs;
|
||||
inherit (builtins) filter;
|
||||
inherit (builtins) currentSystem;
|
||||
|
||||
# https://github.com/andir/npins?tab=readme-ov-file#using-the-nixpkgs-fetchers
|
||||
src = import ./npins;
|
||||
|
@ -12,6 +14,7 @@ let
|
|||
|
||||
mkSystem = system: hostname:
|
||||
import (src.nixpkgs + "/nixos/lib/eval-config.nix") {
|
||||
system = currentSystem;
|
||||
specialArgs = {
|
||||
inherit sources;
|
||||
self = ./.;
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
bubblewrap
|
||||
cachix
|
||||
calc
|
||||
emacs
|
||||
calibre
|
||||
carapace
|
||||
comma
|
||||
|
|
|
@ -316,7 +316,7 @@ if not ($env_vars_file | path exists) {
|
|||
}
|
||||
|
||||
def switch [] {
|
||||
nh os switch --file ($env.NH_FLAKE | path join default.nix) (open /etc/hostname | str trim)
|
||||
nh os switch --file ($env.NH_FLAKE | path join default.nix) (open /etc/hostname)
|
||||
}
|
||||
|
||||
# fix sudo by prepending /run/wrappers/bin to the PATH.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue