mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-12 08:00:05 +01:00
Merge pull request #42 from nix-community/standalone
fix standalone example
This commit is contained in:
commit
3a239145b6
1 changed files with 1 additions and 5 deletions
|
|
@ -4,12 +4,8 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
# We just import from the repository for testing here:
|
# We just import from the repository for testing here:
|
||||||
diskoNixos = import ../../. {
|
|
||||||
inherit lib;
|
|
||||||
};
|
|
||||||
disko = import ../../. {
|
disko = import ../../. {
|
||||||
inherit lib;
|
inherit lib;
|
||||||
inherit pkgs;
|
|
||||||
};
|
};
|
||||||
# In your own system use something like this:
|
# In your own system use something like this:
|
||||||
#import (builtins.fetchGit {
|
#import (builtins.fetchGit {
|
||||||
|
|
@ -47,7 +43,7 @@
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
(diskoNixos.config cfg)
|
(disko.config cfg)
|
||||||
];
|
];
|
||||||
boot.loader.grub.devices = [ "/dev/sda" ];
|
boot.loader.grub.devices = [ "/dev/sda" ];
|
||||||
system.stateVersion = "22.05";
|
system.stateVersion = "22.05";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue