nixos-configs/hosts/nixos-desktop/default.nix

58 lines
1.3 KiB
Nix
Raw Normal View History

2025-08-01 02:06:04 +02:00
{ pkgs, config, ... }:
2024-08-20 22:58:24 +02:00
{
2023-03-21 14:42:39 +01:00
imports = [ ./hardware-configuration.nix ];
2023-03-20 22:35:11 +01:00
2023-03-21 10:37:27 +01:00
modules = {
2024-07-12 00:11:55 +02:00
desktop.wm.enable = true;
2023-03-21 14:42:39 +01:00
editor = {
vim.enable = true;
emacs.enable = true;
};
services = {
flatpak.enable = true;
belgian-eid.enable = true;
docker.enable = true;
libvirt.enable = true;
2023-07-10 21:40:21 +02:00
languagetool.enable = true;
2025-08-01 02:06:04 +02:00
work-proxy.enable = true;
2023-03-21 14:42:39 +01:00
};
2023-03-23 19:01:42 +01:00
media = {
mpd.enable = true;
ncmpcpp.enable = true;
emulators.gc.enable = true;
steam.enable = true;
lutris.enable = true;
};
2023-03-21 10:37:27 +01:00
};
2024-06-25 00:54:44 +02:00
programs.kdeconnect.enable = true;
2023-03-21 14:42:39 +01:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
2024-12-19 00:43:47 +01:00
nix = {
distributedBuilds = true;
buildMachines = [
{
hostName = "hel1.banditlair.com";
sshUser = "nix-ssh";
system = "x86_64-linux";
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
}
];
settings = {
substituters = [ "ssh://nix-ssh@hel1.banditlair.com" ];
trusted-public-keys = [ "hel1.banditlair.com:stzB4xe5QTFvSABoP11ZpNzLDCRZ93PExk0Z/gOzW3g=" ];
2024-12-19 01:33:23 +01:00
builders-use-substitutes = true;
2024-12-19 00:43:47 +01:00
};
};
2023-03-21 14:42:39 +01:00
2023-03-20 22:35:11 +01:00
# Allow to externally control MPD
networking.firewall.allowedTCPPorts = [ 6600 ];
2023-03-21 10:37:27 +01:00
system.stateVersion = "20.09";
2023-03-20 22:35:11 +01:00
}