added spider host

This commit is contained in:
LunarAkai 2025-03-16 00:21:03 +01:00
commit 57f2638f0e
8 changed files with 157 additions and 1 deletions

View file

@ -0,0 +1,70 @@
# 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).
{
pkgs,
inputs,
...
}: {
imports = [
inputs.home-manager.nixosModules.home-manager
../common/global
../common/users/luna
# optional stuff
../common/optional/gnome.nix
../common/optional/pipewire.nix
# thinkpad-related
../common/optional/thinkpad.nix
../common/optional/fingerprint.nix
# Include the results of the hardware scan.
./hardware-configuration.nix
];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "spider"; # Define your hostname.
# Enable networking
networking.networkmanager.enable = true;
# Configure keymap in X11
services.xserver.xkb = {
layout = "de";
variant = "";
};
# Configure console keymap
console.keyMap = "de";
# Enable CUPS to print documents.
services.printing.enable = true;
# flatpak
services.flatpak.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
gnome-menus
];
# ssh agent
programs.ssh.startAgent = true;
programs.steam = {
enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server
};
}