Add frodo VM

This commit is contained in:
2026-01-27 22:00:20 +01:00
parent 5ba014c249
commit ca3ee1d059
3 changed files with 149 additions and 0 deletions

118
systems/frodo/default.nix Normal file
View File

@@ -0,0 +1,118 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader.
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/vda";
boot.loader.grub.useOSProber = true;
networking.hostName = "frodo"; # Define your hostname.
networking.networkmanager.enable = true;
time.timeZone = "Europe/Amsterdam";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "nl_NL.UTF-8";
LC_IDENTIFICATION = "nl_NL.UTF-8";
LC_MEASUREMENT = "nl_NL.UTF-8";
LC_MONETARY = "nl_NL.UTF-8";
LC_NAME = "nl_NL.UTF-8";
LC_NUMERIC = "nl_NL.UTF-8";
LC_PAPER = "nl_NL.UTF-8";
LC_TELEPHONE = "nl_NL.UTF-8";
LC_TIME = "nl_NL.UTF-8";
};
users.defaultUserShell = pkgs.zsh;
security.rtkit.enable = true;
users.users.avravels = {
isNormalUser = true;
description = "Armel van Ravels";
extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
packages = with pkgs; [
home-manager
discord
spotify
protonvpn-gui
];
shell = pkgs.zsh;
};
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
gnumake
git
];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
services = {
openssh.enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
xserver = {
enable = true;
xkb = {
layout = "us";
variant = "";
};
};
printing.enable = true;
pulseaudio.enable = false;
pipewire = {
enable = true;
alsa = {
enable = true;
support32Bit = true;
};
pulse.enable = true;
};
};
hardware = {
graphics.enable = true;
};
programs = {
hyprland = {
enable = true;
xwayland.enable = true;
};
zsh.enable = true;
gamescope = {
enable = false;
capSysNice = true;
};
steam = {
enable = true;
remotePlay.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
};
};
system.stateVersion = "25.11"; # Did you read the comment?
}