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
|
let
|
||||||
inherit (builtins) mapAttrs;
|
inherit (builtins) currentSystem filter mapAttrs;
|
||||||
inherit (builtins) filter;
|
|
||||||
inherit (builtins) currentSystem;
|
|
||||||
|
|
||||||
# https://github.com/andir/npins?tab=readme-ov-file#using-the-nixpkgs-fetchers
|
# https://github.com/andir/npins?tab=readme-ov-file#using-the-nixpkgs-fetchers
|
||||||
src = import ./npins;
|
src = import ./npins;
|
||||||
|
@ -14,7 +12,6 @@ let
|
||||||
|
|
||||||
mkSystem = system: hostname:
|
mkSystem = system: hostname:
|
||||||
import (src.nixpkgs + "/nixos/lib/eval-config.nix") {
|
import (src.nixpkgs + "/nixos/lib/eval-config.nix") {
|
||||||
system = currentSystem;
|
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit sources;
|
inherit sources;
|
||||||
self = ./.;
|
self = ./.;
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
bubblewrap
|
bubblewrap
|
||||||
cachix
|
cachix
|
||||||
calc
|
calc
|
||||||
emacs
|
|
||||||
calibre
|
calibre
|
||||||
carapace
|
carapace
|
||||||
comma
|
comma
|
||||||
|
|
|
@ -316,7 +316,7 @@ if not ($env_vars_file | path exists) {
|
||||||
}
|
}
|
||||||
|
|
||||||
def switch [] {
|
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.
|
# fix sudo by prepending /run/wrappers/bin to the PATH.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue