Add iso
This commit is contained in:
parent
4123f8ccac
commit
34d6f22b61
13 changed files with 153 additions and 61 deletions
50
iso/configuration.nix
Normal file
50
iso/configuration.nix
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
modulesPath,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
imports = [ "${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix" ];
|
||||
nixpkgs.hostPlatform = {
|
||||
system = "x86_64-linux";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim
|
||||
disko
|
||||
git
|
||||
vesktop
|
||||
vscodium
|
||||
firefox
|
||||
kitty
|
||||
];
|
||||
networking = {
|
||||
wireless.enable = false;
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
initial_session = {
|
||||
command = "${pkgs.hyprland}/bin/Hyprland";
|
||||
user = "nixos";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
isoImage = {
|
||||
isoName = lib.mkForce "DashNix.iso";
|
||||
makeEfiBootable = true;
|
||||
makeUsbBootable = true;
|
||||
contents = [
|
||||
{
|
||||
source = "${self}/example";
|
||||
target = "example-config";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue