diff options
author | Martin Fischer <martin@push-f.com> | 2025-04-26 08:59:08 +0200 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2025-04-26 08:59:08 +0200 |
commit | 526c06b0f23ef102496be050d6b5b581459475e9 (patch) | |
tree | 2500c97dc5d29ea27dde974dbb64c51513d84ef3 | |
parent | 940fb56e7e450b7da56cc333d17ab0edb4cd1d0f (diff) |
refactor: import sources via top
-rw-r--r-- | nixos/hosts/hamac/default.nix | 2 | ||||
-rw-r--r-- | nixos/hosts/tente/default.nix | 2 | ||||
-rw-r--r-- | nixos/profiles/common/default.nix | 2 | ||||
-rw-r--r-- | nixos/profiles/workstation/default.nix | 2 |
4 files changed, 4 insertions, 4 deletions
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 <top/npins>; 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 <top/npins>; helpers = import <top/helpers.nix> { 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 <top/npins>; 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 <top/npins>; nixGit = import (pkgs.fetchFromGitHub { owner = "NixOS"; repo = "nix"; |