2024-04-01 18:23:27 +00:00
|
|
|
{ modulesPath, pkgs, ... }:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
"${modulesPath}/installer/cd-dvd/installation-cd-graphical-plasma5.nix"
|
|
|
|
];
|
|
|
|
|
2024-04-20 08:31:22 +00:00
|
|
|
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;
|
|
|
|
|
2024-04-20 08:31:22 +00:00
|
|
|
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
|
2024-04-20 08:31:22 +00:00
|
|
|
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";
|
|
|
|
}
|