finally my custom iso

This commit is contained in:
Osman Faruk Bayram 2025-01-27 15:43:02 +03:00
parent a83c99b2a5
commit 9bfad2364a
2 changed files with 37 additions and 0 deletions

View file

@ -127,6 +127,12 @@
raspberry-pi-nix.nixosModules.sd-image
];
};
myISO = nixpkgs.lib.nixosSystem {
modules = [
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix"
./hosts/iso/configuration.nix
];
};
};
homeConfigurations = {
# doesnt work because my different systems have different stateVersions

View file

@ -0,0 +1,31 @@
{
config,
lib,
pkgs,
system,
...
}: {
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nixpkgs.config.allowUnfree = true;
# Set environment variable for allowing non-free packages
environment.sessionVariables = {
NIXPKGS_ALLOW_UNFREE = "1";
};
environment.systemPackages = with pkgs; [
# Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
git
curl
parted
nano
comma
just
age
];
}