feat: add widar
Signed-off-by: Lander Van den Bulcke <landervandenbulcke@gmail.com>
This commit is contained in:
parent
6610403d08
commit
c0bea92f77
4 changed files with 135 additions and 0 deletions
69
hosts/widar/default.nix
Normal file
69
hosts/widar/default.nix
Normal file
|
|
@ -0,0 +1,69 @@
|
|||
{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/steam.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "widar1";
|
||||
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";
|
||||
};
|
||||
|
||||
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
|
||||
tf-summarize
|
||||
awscli2
|
||||
libreoffice
|
||||
x32edit
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
services.printing.enable = true;
|
||||
services.printing.drivers = [pkgs.brlaser];
|
||||
|
||||
system.stateVersion = "24.10";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue