This commit is contained in:
iofq 2023-12-24 00:33:04 -06:00
parent fe3dde6667
commit d37834a164
30 changed files with 245 additions and 179 deletions

View file

@ -10,8 +10,9 @@
networking.hostName = host.hostName;
networking.firewall = {
enable = true;
allowedTCPPorts = [];
allowedTCPPorts = [11111];
allowedUDPPorts = [];
logRefusedConnections = true;
};
users.users.${host.username} = {
isNormalUser = true;
@ -25,13 +26,15 @@
time.timeZone = "America/Chicago";
# Enable flakes and unfree packages
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
};
nix.gc = {
automatic = true;
dates = "00:00";
options = "--delete-older-than 14d";
};
nixpkgs.config.allowUnfree = true;
system.stateVersion = "22.11";
}

View file

@ -24,16 +24,27 @@
startAgent = true;
};
services.flatpak.enable = true;
services.dbus.enable = true;
xdg = {
portal = {
enable = true;
extraPortals = with pkgs; [
xdg-desktop-portal-wlr
xdg-desktop-portal-gtk
];
xdgOpenUsePortal = true;
wlr.enable = true;
config = {
common = {
default = [
"wlr"
];
};
};
};
};
hardware.opengl.enable = true;
hardware.opengl.extraPackages = [
pkgs.mesa.drivers
pkgs.libGL
];
hardware.opengl.setLdLibraryPath = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
system.stateVersion = "22.11";