Add image
This commit is contained in:
parent
352d4412f2
commit
2c541801e6
1 changed files with 7 additions and 5 deletions
12
flake.nix
12
flake.nix
|
@ -666,14 +666,14 @@
|
||||||
# for testing, this seems to work `nixos-rebuild build --impure --flake .#pinephone`
|
# for testing, this seems to work `nixos-rebuild build --impure --flake .#pinephone`
|
||||||
|
|
||||||
# TODO: would like to use the mobile-nixos installer?
|
# TODO: would like to use the mobile-nixos installer?
|
||||||
# "${nixpkgs-unstable}/nixos/modules/installer/sd-card/sd-image-aarch64-installer.nix"
|
"${nixpkgs-unstable}/nixos/modules/installer/sd-card/sd-image-aarch64-installer.nix"
|
||||||
|
|
||||||
# linux
|
linux
|
||||||
# home-manager-unstable-defaults
|
home-manager-unstable-defaults
|
||||||
|
|
||||||
# outputs.diskoConfigurations.unencrypted # can I even disko with an image-based installation?
|
# outputs.diskoConfigurations.unencrypted # can I even disko with an image-based installation?
|
||||||
# common
|
common
|
||||||
# wifi
|
wifi
|
||||||
|
|
||||||
{
|
{
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
|
@ -697,6 +697,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
images.pinephone = outputs.nixosConfigurations.pinephone.config.system.build.sdImage;
|
||||||
|
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
"deck" = let
|
"deck" = let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
|
Loading…
Reference in a new issue