Commit for generation 218

This commit is contained in:
2024-10-09 22:24:38 -04:00
parent 472faa2af2
commit 6dd1a60bcd
3 changed files with 116 additions and 46 deletions

View File

@@ -2,16 +2,19 @@
{ config, lib, pkgs, inputs, ... }:
{
system.stateVersion = "24.05";
imports =
[
./hardware-configuration.nix
];
## System - Environment ##
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking = {
networkmanager.enable = true; # Easiest to use and most distros use this by default.
networkmanager.enable = true;
hostName = "glasshaus";
hosts = {
"192.168.1.163" = [ "glasshaus.info" ];
@@ -22,17 +25,6 @@
};
};
programs = {
zsh.enable = true;
nix-ld = {
enable = true;
libraries = with pkgs; [
stdenv.cc.cc
ffmpeg-full
];
};
};
environment = {
variables = {
XCURSOR_SIZE = "24";
@@ -44,7 +36,6 @@
];
};
time.timeZone = "America/New_York";
i18n.defaultLocale = "en_US.UTF-8";
@@ -52,22 +43,45 @@
programs.steam.enable = true;
home-manager.backupFileExtension = "backup";
# Enable sound.
#hardware.pulseaudio.enable = true;
# OR
## Programs - Services - Hardware ##
programs = {
zsh.enable = true;
nix-ld = {
enable = true;
libraries = with pkgs; [
stdenv.cc.cc
ffmpeg-full
];
};
gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
};
services = {
pipewire = {
enable = true;
pulse.enable = true;
wireplumber.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
};
enable = true;
pulse.enable = true;
wireplumber.enable = true;
alsa.enable = true;
alsa.support32Bit = true;
};
udev.enable = true;
dbus.enable = true;
mullvad-vpn.enable = true;
blueman.enable = true;
openssh.enable = true;
foundryvtt = {
enable = false;
hostName = "wumbodnd";
package = inputs.foundryvtt.packages.${pkgs.system}.foundryvtt_12;
minifyStaticFiles = true;
proxyPort = 443;
proxySSL = false;
upnp = false;
};
};
hardware = {
@@ -78,57 +92,80 @@
powerOnBoot = true;
};
};
## Users - Packages ##
security.sudo.extraConfig = ''
pagedmov ALL=(ALL) NOPASSWD: /run/current-system/sw/bin/nixos-rebuild
pagedmov ALL=(ALL) NOPASSWD: /run/current-system/sw/bin/nixos-rebuild
'';
users.users.pagedmov = {
isNormalUser = true;
shell = pkgs.zsh;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
extraGroups = [ "wheel" ];
};
nixpkgs.config.allowUnfree = true;
fonts.packages = with pkgs; [ times-newer-roman nerdfonts jetbrains-mono ];
fonts.packages = with pkgs; [
times-newer-roman
nerdfonts
jetbrains-mono
];
environment.systemPackages = with pkgs; [
# a
alsa-lib
alsa-utils
# b
bc
# c
cava
clang
clang-tools
cmake
# d
# e
# f
fail2ban
feh
ffmpeg-full
fuse
fzf
# g
git
gnumake
gst_all_1.gstreamer
# h
htop
hyprland
hyprland-workspaces
hyprpaper
hyprpicker
# i
imagemagick
inetutils
# j
# k
kitty
# l
libclang
libcxx
lolcat
lsof
lua-language-server
luarocks
# m
mesa
mpd
mullvad
# n
neofetch
nix-index
nix-prefetch-scripts
nixos-option
nix-search-cli
# o
openssl
# p
p7zip
pamixer
parted
@@ -139,47 +176,38 @@ pagedmov ALL=(ALL) NOPASSWD: /run/current-system/sw/bin/nixos-rebuild
protonmail-bridge
protontricks
pyright
# q
quintom-cursor-theme
# r
# s
socat
sox
stress
# t
tor
tree
# u
unrar
unzip
usbutils
# v
vim
vim
vscode-langservers-extracted
vulkan-loader
# w
wget
wine
wineWowPackages.full
wl-clipboard
# x
xpad
xwaylandvideobridge
# y
# z
];
# List services that you want to enable:
# Enable the OpenSSH daemon.
services.openssh.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
services.foundryvtt = {
enable = true;
hostName = "wumbodnd";
package = inputs.foundryvtt.packages.${pkgs.system}.foundryvtt_12;
minifyStaticFiles = true;
proxyPort = 443;
proxySSL = false;
upnp = false;
};
system.stateVersion = "24.05"; # Did you read the comment?
}