diff --git a/modules/common/default.nix b/modules/common/default.nix index 542b634..61d5d5c 100644 --- a/modules/common/default.nix +++ b/modules/common/default.nix @@ -4,7 +4,7 @@ let in { imports = [ - ../../modules/cli + "${self}/modules/cli" ]; # Use the systemd-boot EFI boot loader. @@ -117,7 +117,7 @@ in # this value at the release version of the first install of this system. # Before changing this value read the documentation for this option # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). - system.stateVersion = import ../../version.nix; + system.stateVersion = import "${self}/version.nix"; } diff --git a/systems/proxmox-vm/default.nix b/systems/proxmox-vm/default.nix index 12a8e93..e1bdd05 100644 --- a/systems/proxmox-vm/default.nix +++ b/systems/proxmox-vm/default.nix @@ -1,7 +1,7 @@ -{ hostname, ip, ... }: +{ self, hostname, ip, ... }: { imports = [ - (import ../../modules/mk-network { inherit hostname ip; }) + (import "${self}/modules/mk-network" { inherit hostname ip; }) ]; boot.initrd.availableKernelModules = [ "ata_piix"