sisyphus/nixos/hosts/Tibo-NixDesk/default.nix

79 lines
1.4 KiB
Nix
Raw Normal View History

2023-04-11 18:01:53 +02:00
{ config, pkgs, ... }:
{
2023-10-24 21:00:53 +02:00
imports = [
./hardware-configuration.nix
];
2023-04-11 18:01:53 +02:00
2023-10-24 21:00:53 +02:00
sisyphus = {
hardware.nvidia = {
enable = true;
model = "RTX 2060";
};
2023-04-11 18:01:53 +02:00
networking.openconnect-sso.enable = true;
2023-11-10 13:07:42 +01:00
nix = {
flakes.enable = true;
gc.onFull.enable = true;
};
2023-10-24 21:00:53 +02:00
programs = {
2023-11-14 22:32:04 +01:00
direnv.enable = true;
2023-10-24 21:00:53 +02:00
home-manager.enable = true;
sops.enable = true;
ssh.enable = true;
};
services = {
pipewire.enable = true;
printing.enable = true;
openrgb.enable = true;
};
users.tdpeuter.enable = true;
virtualisation.virtualbox.enable = true;
2023-09-11 11:06:55 +02:00
};
2023-04-11 18:01:53 +02:00
2023-11-14 21:17:35 +01:00
boot = {
kernelPackages = pkgs.linuxPackages_hardened;
loader = {
systemd-boot.enable = true;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot/efi";
};
2023-10-24 21:00:53 +02:00
};
2023-09-11 11:06:55 +02:00
};
2023-04-11 18:01:53 +02:00
2023-10-24 21:00:53 +02:00
environment.systemPackages = with pkgs; [
git
2023-11-14 22:19:05 +01:00
vim-full
2023-10-24 21:00:53 +02:00
w3m
wget
zenith-nvidia
];
programs.zsh.enable = true;
2023-04-11 18:01:53 +02:00
2023-10-24 21:00:53 +02:00
hardware.bluetooth.enable = true;
2023-04-11 18:01:53 +02:00
2023-10-24 21:00:53 +02:00
networking = {
hostName = "Tibo-NixDesk";
networkmanager.enable = true;
# wireless.enable = true; # Enables wireless support via wpa_supplicant.
2023-04-11 18:01:53 +02:00
};
2023-10-24 21:00:53 +02:00
system.stateVersion = "23.05";
2023-04-11 18:01:53 +02:00
2023-10-24 21:00:53 +02:00
time.timeZone = "Europe/Brussels";
2023-04-11 18:01:53 +02:00
2023-10-24 21:00:53 +02:00
i18n.defaultLocale = "en_GB.UTF-8";
console = {
# font = "Lat2-Terminus16";
useXkbConfig = true; # use xkbOptions in tty.
};
2023-04-11 18:01:53 +02:00
}