From 526c06b0f23ef102496be050d6b5b581459475e9 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 26 Apr 2025 08:59:08 +0200 Subject: refactor: import sources via top --- nixos/hosts/hamac/default.nix | 2 +- nixos/hosts/tente/default.nix | 2 +- nixos/profiles/common/default.nix | 2 +- nixos/profiles/workstation/default.nix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'nixos') diff --git a/nixos/hosts/hamac/default.nix b/nixos/hosts/hamac/default.nix index 08caa51..d32ea58 100644 --- a/nixos/hosts/hamac/default.nix +++ b/nixos/hosts/hamac/default.nix @@ -1,7 +1,7 @@ # See the configuration.nix(5) man page and the NixOS manual (accessible by running `nixos-help`). let - sources = import ../../npins; + sources = import ; pkgs-unstable = import sources.nixpkgs-unstable {}; in { config, lib, pkgs, ... }: diff --git a/nixos/hosts/tente/default.nix b/nixos/hosts/tente/default.nix index 638b8d9..23e94bc 100644 --- a/nixos/hosts/tente/default.nix +++ b/nixos/hosts/tente/default.nix @@ -7,7 +7,7 @@ let baseDomain = "push-f.com"; acmeEmail = "martin@push-f.com"; - sources = import ../../npins; + sources = import ; helpers = import { inherit config; }; in { diff --git a/nixos/profiles/common/default.nix b/nixos/profiles/common/default.nix index 2b07724..a508a32 100644 --- a/nixos/profiles/common/default.nix +++ b/nixos/profiles/common/default.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: let - sources = import ../../npins; + sources = import ; in { imports = [ diff --git a/nixos/profiles/workstation/default.nix b/nixos/profiles/workstation/default.nix index 0332200..833ce3c 100644 --- a/nixos/profiles/workstation/default.nix +++ b/nixos/profiles/workstation/default.nix @@ -2,7 +2,7 @@ let cfg = config.workstation; - sources = import ../../npins; + sources = import ; nixGit = import (pkgs.fetchFromGitHub { owner = "NixOS"; repo = "nix"; -- cgit v1.2.3