mirror of
https://github.com/nix-community/disko
synced 2024-11-10 06:14:14 +00:00
fix standalone example
This commit is contained in:
parent
46177f0b30
commit
386e463cfc
1 changed files with 1 additions and 5 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue