migrate configuration.nix into flexible modular flake setup
This commit is contained in:
106
modules/programs.nix
Normal file
106
modules/programs.nix
Normal file
@ -0,0 +1,106 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Common packages for ALL systems
|
||||
environment.systemPackages = with pkgs; [
|
||||
# networking
|
||||
wget
|
||||
whois
|
||||
dig
|
||||
|
||||
# files
|
||||
unzip
|
||||
ncdu
|
||||
|
||||
# security
|
||||
gnupg
|
||||
openssl
|
||||
kdePackages.kleopatra
|
||||
|
||||
# cli tools
|
||||
jq
|
||||
pciutils
|
||||
glxinfo
|
||||
btop
|
||||
|
||||
# Development
|
||||
code-cursor
|
||||
gitkraken
|
||||
git-filter-repo
|
||||
python3
|
||||
hugo
|
||||
nodejs_22
|
||||
pnpm
|
||||
cypress
|
||||
gnumake
|
||||
gcc
|
||||
libgcc
|
||||
|
||||
# Common programs
|
||||
obsidian
|
||||
nextcloud-client
|
||||
multiviewer-for-f1
|
||||
libreoffice-fresh
|
||||
tor-browser
|
||||
wasabiwallet
|
||||
ungoogled-chromium
|
||||
prismlauncher
|
||||
plexamp
|
||||
mission-center
|
||||
remmina
|
||||
|
||||
# Visual
|
||||
inkscape
|
||||
krita
|
||||
darktable
|
||||
davinci-resolve
|
||||
imagemagick
|
||||
];
|
||||
|
||||
programs = {
|
||||
# CLI
|
||||
zoxide.enable = true;
|
||||
fish.enable = true;
|
||||
vim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
};
|
||||
ssh.extraConfig = "";
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
enableSSHSupport = true;
|
||||
};
|
||||
git = {
|
||||
enable = true;
|
||||
lfs.enable = true;
|
||||
};
|
||||
java.enable = true;
|
||||
|
||||
# programs
|
||||
firefox.enable = true;
|
||||
thunderbird.enable = true;
|
||||
steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
};
|
||||
};
|
||||
|
||||
# enable and configure Docker
|
||||
virtualisation.docker.enable = true;
|
||||
|
||||
# enable VMs
|
||||
programs.virt-manager.enable = true;
|
||||
virtualisation = {
|
||||
tmp.enable = true;
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu = {
|
||||
swtpm.enable = true;
|
||||
ovmf.enable = true;
|
||||
ovmf.packages = [ pkgs.OVMFFull.fd ];
|
||||
};
|
||||
};
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user