replace relative paths with self
This commit is contained in:
parent
da70e632c8
commit
36e41b147a
|
@ -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";
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue