aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/ni
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-08-19 17:47:51 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-08-19 17:47:51 +0200
commit7e2e4de1a42e37234cf5d5a692573a8426bec4ca (patch)
treed33b2db75ed555e0184f7d9ae2f843f96ebffe63 /modules/by-name/ni
parentmodules/direnv/pre-cache: Also use the nixpkgs rev as cache key (diff)
downloadnixos-config-7e2e4de1a42e37234cf5d5a692573a8426bec4ca.zip
treewide: Switch to bare unflakeHEADprime
There was no real reason to still have `npins` around. I just kept it because of historical reasons.
Diffstat (limited to '')
-rw-r--r--modules/by-name/ni/nix/module.nix2
-rw-r--r--modules/by-name/ni/nixos-shell/module.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/by-name/ni/nix/module.nix b/modules/by-name/ni/nix/module.nix
index 7caa8a8e..b7e64989 100644
--- a/modules/by-name/ni/nix/module.nix
+++ b/modules/by-name/ni/nix/module.nix
@@ -19,7 +19,7 @@
externalDependencies,
...
}: let
- nixpkgs = sources.loadFlake "nixpkgs";
+ inherit (sources) nixpkgs;
cfg = config.soispha.nix;
in {
diff --git a/modules/by-name/ni/nixos-shell/module.nix b/modules/by-name/ni/nixos-shell/module.nix
index 3556a98b..1a0190c8 100644
--- a/modules/by-name/ni/nixos-shell/module.nix
+++ b/modules/by-name/ni/nixos-shell/module.nix
@@ -15,7 +15,7 @@
...
}: let
cfg = config.soispha.nixos-shell;
- nixpkgs = sources.loadFlake "nixpkgs";
+ inherit (sources) nixpkgs;
in {
options.soispha.nixos-shell = {
enable = lib.mkEnableOption "nixos-shell";