config/hosts/bjarte/configuration.nix

58 lines
1.7 KiB
Nix
Raw Normal View History

2024-04-17 23:29:21 +02:00
{ config, pkgs, lib, ... }:
{
# Bootloader
2024-04-19 22:54:21 +02:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
2024-04-17 23:29:21 +02:00
#boot.kernel.sysctl."vm.swappiness" = lib.mkDefault 10; # 0-100, commonly 60
imports = [
./hardware-configuration.nix
2024-04-20 00:37:07 +02:00
../../profiles/sshd.nix
2024-04-17 23:29:21 +02:00
#../../profiles/no-suspend.nix
2024-10-19 04:05:19 +02:00
../../profiles/oci/podman.nix
2024-04-17 23:29:21 +02:00
#../../profiles/oci/docker.nix
2024-10-19 04:05:19 +02:00
../../profiles/oci/distrobox.nix
2024-04-17 23:29:21 +02:00
../../users/pbsds
2024-09-21 21:30:46 +02:00
../../users/pbsds/syncthing.nix
2024-04-17 23:29:21 +02:00
#../../profiles/mounts/freon-nfs.nix
#../../profiles/mounts/reidun-nfs.nix
#../../profiles/mounts/meconium-nfs.nix
../../profiles/shell.nix
../../profiles/desktop/base.nix
../../profiles/desktop/gnome # configures gdm
#../../profiles/desktop/sound/alsa.nix
#../../profiles/desktop/sound/pulseaudio.nix
../../profiles/desktop/sound/pipewire.nix
../../profiles/desktop/steam.nix
#../../profiles/desktop/xboxdrv.nix # TODO: try out
../../profiles/desktop/lutris.nix
../../profiles/desktop/flatpak.nix
2024-10-08 15:14:55 +02:00
../../profiles/desktop/waydroid.nix
2024-04-17 23:29:21 +02:00
../../profiles/known-hosts.nix
2024-04-17 23:29:21 +02:00
];
2024-09-13 18:12:23 +02:00
time.timeZone = null; # allows imperative configuring
2024-04-17 23:29:21 +02:00
networking.firewall.allowedTCPPorts = [ 57621 ]; # spotify local discovery
# services.irqbalance.enable = true; # different balancer, avoids freezes, god for old laptops
2024-04-17 23:29:21 +02:00
# Networking
networking.networkmanager.enable = true;
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
#networking.useDHCP = true;
#TODO: avahi? resolved? https://git.pvv.ntnu.no/Drift/pvv-nixos-config/src/main/base.nix#L15-L18
2024-04-19 22:54:21 +02:00
services.printing.enable = true;
2024-04-17 23:29:21 +02:00
# TODO: remove? Move?
programs.dconf.enable = true;
}