nix-infra/profiles/iso/default.nix

55 lines
984 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 = {
imports = [
2024-05-04 10:03:59 +00:00
../../modules/home/foot
2024-04-01 18:23:27 +00:00
];
home.stateVersion = "23.11";
};
# Use faster squashfs compression
isoImage.squashfsCompression = "gzip -Xcompression-level 1";
}