summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2022-09-13 13:32:28 +0200
committerJörg Thalheim <joerg@thalheim.io>2022-09-13 13:32:28 +0200
commit386e463cfcd54d177d6f8e66c9c75aaffd060dd2 (patch)
tree9d8cf3df3966590795aea19dcc0dcf2b4cce9a87
parent46177f0b30b7f646c9b5a72eebcc2327357e1e6e (diff)
fix standalone example
-rw-r--r--example/stand-alone/configuration.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/example/stand-alone/configuration.nix b/example/stand-alone/configuration.nix
index 600f6f9..67576a0 100644
--- a/example/stand-alone/configuration.nix
+++ b/example/stand-alone/configuration.nix
@@ -4,12 +4,8 @@
...
}: let
# We just import from the repository for testing here:
- diskoNixos = import ../../. {
- inherit lib;
- };
disko = import ../../. {
inherit lib;
- inherit pkgs;
};
# In your own system use something like this:
#import (builtins.fetchGit {
@@ -47,7 +43,7 @@
};
in {
imports = [
- (diskoNixos.config cfg)
+ (disko.config cfg)
];
boot.loader.grub.devices = [ "/dev/sda" ];
system.stateVersion = "22.05";