Compare commits
3 commits
0b82c15255
...
1cffdd7818
Author | SHA1 | Date | |
---|---|---|---|
1cffdd7818 |
|||
7ac4ac73c0 |
|||
0a37fb5863 |
3 changed files with 2 additions and 6 deletions
|
@ -1,7 +1,5 @@
|
|||
let
|
||||
inherit (builtins) mapAttrs;
|
||||
inherit (builtins) filter;
|
||||
inherit (builtins) currentSystem;
|
||||
inherit (builtins) currentSystem filter mapAttrs;
|
||||
|
||||
# https://github.com/andir/npins?tab=readme-ov-file#using-the-nixpkgs-fetchers
|
||||
src = import ./npins;
|
||||
|
@ -14,7 +12,6 @@ let
|
|||
|
||||
mkSystem = system: hostname:
|
||||
import (src.nixpkgs + "/nixos/lib/eval-config.nix") {
|
||||
system = currentSystem;
|
||||
specialArgs = {
|
||||
inherit sources;
|
||||
self = ./.;
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
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)
|
||||
nh os switch --file ($env.NH_FLAKE | path join default.nix) (open /etc/hostname | str trim)
|
||||
}
|
||||
|
||||
# fix sudo by prepending /run/wrappers/bin to the PATH.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue