aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/by-name/di/direnv/module.nix3
-rw-r--r--modules/by-name/ni/nix/module.nix2
-rw-r--r--modules/by-name/ni/nixos-shell/module.nix2
-rw-r--r--modules/by-name/qu/qutebrowser/module.nix2
-rw-r--r--modules/by-name/ve/version/module.nix2
5 files changed, 5 insertions, 6 deletions
diff --git a/modules/by-name/di/direnv/module.nix b/modules/by-name/di/direnv/module.nix
index 55a694cf..baa0d954 100644
--- a/modules/by-name/di/direnv/module.nix
+++ b/modules/by-name/di/direnv/module.nix
@@ -16,8 +16,7 @@
}: let
cfg = config.soispha.programs.direnv;
- devshells = sources.loadFlake "devshells";
- nixpkgs = sources.loadFlake "nixpkgs";
+ inherit (sources) devshells nixpkgs;
pre-cache = pkgs.runCommand "pre-cache.sh" {} ''
cat "${./pre-cache.sh}" > $out
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";
diff --git a/modules/by-name/qu/qutebrowser/module.nix b/modules/by-name/qu/qutebrowser/module.nix
index 51c1b239..d7689793 100644
--- a/modules/by-name/qu/qutebrowser/module.nix
+++ b/modules/by-name/qu/qutebrowser/module.nix
@@ -80,7 +80,7 @@ in {
config = lib.mkIf cfg.enable {
home-manager.users.soispha = {
disabledModules = [
- "${sources.sources.home-manager}/modules/programs/qutebrowser.nix"
+ "${sources.home-manager}/modules/programs/qutebrowser.nix"
];
imports = [
./module.hm.nix
diff --git a/modules/by-name/ve/version/module.nix b/modules/by-name/ve/version/module.nix
index 28328d1d..d666695d 100644
--- a/modules/by-name/ve/version/module.nix
+++ b/modules/by-name/ve/version/module.nix
@@ -15,7 +15,7 @@
}: let
cfg = config.soispha.version;
- nixpkgs = sources.loadFlake "nixpkgs";
+ inherit (sources) nixpkgs;
in {
options.soispha.version = {
enable = lib.mkEnableOption "storing the git revision in /etc/nixpkgs-git-revision";