mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
Merge pull request #42 from nix-community/standalone
fix standalone example
This commit is contained in:
1 file changed
+1
-5
@@ -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";
|
||||
|
||||
Reference in new issue
Block a user