summaryrefslogtreecommitdiff
path: root/nixos/hosts
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2025-04-26 08:59:08 +0200
committerMartin Fischer <martin@push-f.com>2025-04-26 08:59:08 +0200
commit526c06b0f23ef102496be050d6b5b581459475e9 (patch)
tree2500c97dc5d29ea27dde974dbb64c51513d84ef3 /nixos/hosts
parent940fb56e7e450b7da56cc333d17ab0edb4cd1d0f (diff)
refactor: import sources via top
Diffstat (limited to 'nixos/hosts')
-rw-r--r--nixos/hosts/hamac/default.nix2
-rw-r--r--nixos/hosts/tente/default.nix2
2 files changed, 2 insertions, 2 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
{