aboutsummaryrefslogtreecommitdiffstats
path: root/modules/by-name/ni/nixos-shell
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-05-12 00:32:22 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2026-05-12 00:32:22 +0200
commit55fae2677ecb8a3d8e2adf653e2784a1c70829a6 (patch)
treebc62e5f9812bb2fbefec65216d1c57820eec436e /modules/by-name/ni/nixos-shell
parenttreewide: Switch to npins (diff)
downloadnixos-config-55fae2677ecb8a3d8e2adf653e2784a1c70829a6.zip
treewide: Remove all references to `self.inputs`
That doesn't work anymore with the npins sources.
Diffstat (limited to 'modules/by-name/ni/nixos-shell')
-rw-r--r--modules/by-name/ni/nixos-shell/module.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/by-name/ni/nixos-shell/module.nix b/modules/by-name/ni/nixos-shell/module.nix
index 8dda2890..3556a98b 100644
--- a/modules/by-name/ni/nixos-shell/module.nix
+++ b/modules/by-name/ni/nixos-shell/module.nix
@@ -11,10 +11,11 @@
lib,
config,
pkgs,
- self,
+ sources,
...
}: let
cfg = config.soispha.nixos-shell;
+ nixpkgs = sources.loadFlake "nixpkgs";
in {
options.soispha.nixos-shell = {
enable = lib.mkEnableOption "nixos-shell";
@@ -85,7 +86,7 @@ in {
};
config = let
- vmSystem = self.inputs.nixpkgs.lib.nixosSystem {
+ vmSystem = nixpkgs.lib.nixosSystem {
inherit (cfg.configuration) specialArgs;
modules = [