Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
91 lines
1.8 KiB
Nix
91 lines
1.8 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
|
|
../common/global
|
|
../common/users/lander
|
|
|
|
../common/optional/fonts.nix
|
|
../common/optional/yubikey-gpg.nix
|
|
../common/optional/virt.nix
|
|
../common/optional/restic.nix
|
|
../common/optional/steam.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "wodan";
|
|
networkmanager.enable = true;
|
|
};
|
|
|
|
boot = {
|
|
loader = {
|
|
systemd-boot.enable = true;
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
initrd.luks.devices."luks-ed2282ac-fd73-4d82-9224-b7596b5b7cac".device =
|
|
"/dev/disk/by-uuid/ed2282ac-fd73-4d82-9224-b7596b5b7cac";
|
|
|
|
binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
};
|
|
|
|
services.xserver.enable = true;
|
|
services.xserver.displayManager.gdm.enable = true;
|
|
services.xserver.desktopManager.gnome.enable = true;
|
|
services.xserver.xkb = {
|
|
layout = "us";
|
|
variant = "";
|
|
};
|
|
|
|
hardware.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
jack.enable = true;
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
(firefox.override { extraNativeMessagingHosts = [ passff-host ]; })
|
|
vim
|
|
wget
|
|
git
|
|
texliveFull
|
|
terraform
|
|
opentofu
|
|
tf-summarize
|
|
awscli2
|
|
libreoffice
|
|
x32edit
|
|
];
|
|
|
|
nix.settings.experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
|
|
virtualisation.virtualbox.host = {
|
|
enable = true;
|
|
enableExtensionPack = true;
|
|
};
|
|
|
|
services.tailscale.enable = true;
|
|
|
|
services.printing.enable = true;
|
|
services.printing.drivers = [
|
|
pkgs.brlaser
|
|
pkgs.hplip
|
|
];
|
|
services.avahi = {
|
|
enable = true;
|
|
nssmdns4 = true;
|
|
openFirewall = true;
|
|
};
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|