nix-infra/profiles/iso/default.nix

52 lines
931 B
Nix
Raw Normal View History

2024-04-01 18:23:27 +00:00
{ modulesPath, pkgs, ... }:
{
imports = [
"${modulesPath}/installer/cd-dvd/installation-cd-graphical-plasma5.nix"
];
networking.hostName = "nixos";
2024-04-01 18:23:27 +00:00
# Enables copy / paste when running in a KVM with spice.
services.spice-vdagentd.enable = true;
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
};
};
nixpkgs.config.allowUnfree = true;
hardware.enableAllFirmware = true;
2024-04-01 18:23:27 +00:00
users.users.nixos.shell = pkgs.fish;
programs.fish.enable = true;
environment.systemPackages = with pkgs; [
mkpasswd
nixpkgs-fmt
neovim-unwrapped
xclip
bat
bind.dnsutils
fd
git
gnupg
htop
jq
mtr
nmap
openssl
rsync
tcpdump
tmux
wget
whois
2024-04-01 18:23:27 +00:00
];
home-manager.users.nixos = {
home.stateVersion = "23.11";
};
# Use faster squashfs compression
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
}