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

93 lines
1.5 KiB
Nix
Raw Permalink 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 = {
2024-04-09 13:07:50 +02:00
desktop.sway.enable = true;
2024-02-18 16:34:18 +01:00
2024-04-09 13:07:11 +02:00
hardware = {
nvidia = {
enable = true;
model = "RTX 2060";
gui-settings = true;
};
yubikey.enable = true;
2023-10-24 21:00:53 +02:00
};
2023-04-11 18:01:53 +02:00
2024-02-18 16:31:46 +01:00
networking = {
networkmanager.enable = true;
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;
2024-02-18 16:34:18 +01:00
virtualisation = {
docker.enable = true;
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 = {
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
];
2024-02-18 16:17:37 +01:00
programs = {
steam.enable = true;
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
2024-02-18 16:34:18 +01:00
networking.hostName = "Tibo-NixDesk";
services.xserver = {
layout = "us";
xkbVariant = "altgr-intl";
2023-04-11 18:01:53 +02:00
};
2024-06-02 20:49:04 +02:00
system.stateVersion = "24.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
}