Reorganize custom ISO files
This commit is contained in:
parent
f14637d878
commit
c3f87354a9
5 changed files with 4 additions and 23 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,2 @@
|
||||||
result
|
result
|
||||||
*-iso
|
|
||||||
*.iso
|
*.iso
|
||||||
|
|
|
@ -46,7 +46,7 @@ let
|
||||||
|
|
||||||
nixos-generate-config --root /mnt
|
nixos-generate-config --root /mnt
|
||||||
mv /mnt/etc/nixos/configuration.nix configuration.nix.old
|
mv /mnt/etc/nixos/configuration.nix configuration.nix.old
|
||||||
curl https://forgejo.sinerva.eu/VSinerva/nixos-conf/raw/branch/main/misc/template-configuration.nix -o /mnt/etc/nixos/configuration.nix
|
curl https://forgejo.sinerva.eu/VSinerva/nixos-conf/raw/branch/main/custom-installer/template-configuration.nix -o /mnt/etc/nixos/configuration.nix
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -57,18 +57,7 @@ in
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
(with pkgs; [
|
(with pkgs; [
|
||||||
(onlykey.override (prev: {
|
|
||||||
node_webkit = prev.node_webkit.overrideAttrs {
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://dl.nwjs.io/v0.71.1/nwjs-v0.71.1-linux-x64.tar.gz";
|
|
||||||
hash = "sha256-bnObpwfJ6SNJdOvzWTnh515JMcadH1+fxx5W9e4gl/4=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}))
|
|
||||||
|
|
||||||
cryptsetup
|
cryptsetup
|
||||||
onlykey-cli
|
|
||||||
onlykey-agent
|
|
||||||
])
|
])
|
||||||
++ [
|
++ [
|
||||||
create-partitions
|
create-partitions
|
||||||
|
@ -76,13 +65,6 @@ in
|
||||||
prep-install
|
prep-install
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.gnupg.agent = {
|
|
||||||
enable = true;
|
|
||||||
enableSSHSupport = true;
|
|
||||||
pinentryPackage = pkgs.pinentry-curses;
|
|
||||||
};
|
|
||||||
hardware.onlykey.enable = true;
|
|
||||||
|
|
||||||
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
|
||||||
|
|
||||||
#Many installs will need this, and it won't hurt either way
|
#Many installs will need this, and it won't hurt either way
|
|
@ -1,7 +1,7 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix>
|
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-graphical-combined.nix>
|
||||||
./custom-iso-base.nix
|
./base.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
|
@ -2,7 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
|
<nixpkgs/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix>
|
||||||
./custom-iso-base.nix
|
./base.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.networkmanager.enable = pkgs.lib.mkForce false;
|
networking.networkmanager.enable = pkgs.lib.mkForce false;
|
Loading…
Add table
Add a link
Reference in a new issue