replace relative paths with self

This commit is contained in:
Andreas Zweili 2022-01-22 19:20:50 +01:00
parent da70e632c8
commit 36e41b147a
2 changed files with 4 additions and 4 deletions

View File

@ -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";
}

View File

@ -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"