summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2022-09-13 13:34:29 +0200
committerGitHub <noreply@github.com>2022-09-13 13:34:29 +0200
commit3a239145b6885d3186f530407d96a24f1e5839fb (patch)
tree9d8cf3df3966590795aea19dcc0dcf2b4cce9a87
parent01eb26ca0c790711fac3c9d46a4a1aade780e80e (diff)
parent386e463cfcd54d177d6f8e66c9c75aaffd060dd2 (diff)
Merge pull request #42 from nix-community/standalone
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";