misc: various changes

This commit is contained in:
Evar 2025-02-20 17:21:29 -05:00
parent 5e2a68566b
commit 4944f2ba36
10 changed files with 99 additions and 60 deletions

View file

@ -1,6 +1,5 @@
{
config,
options,
lib,
pkgs,
inputs,
@ -30,6 +29,23 @@
./libvirtd.nix
];
# So that I can get to the netgear router
networking.extraHosts = ''
10.0.0.152 routerlogin.net
10.0.0.152 www.routerlogin.net
'';
services.flatpak.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
xdg.portal.config.common.default = "gtk";
security.polkit.enable = true;
systemd.services.fprxintd = {
wantedBy = [ "multi-user.target" ];
serviceConfig.Type = "simple";
};
services.fprintd.enable = true;
vfio = {
enable = true;
earlyKMS = true;
@ -101,6 +117,7 @@
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg)
[
"keyguard"
"steam"
# "steam-original"
# "steam-run"
@ -139,9 +156,36 @@
};
services.openssh.enable = true;
### Stuff for running a dhcp server for wobbuffet stuff
### MAKE SURE TO DISABLE THIS BEFORE NORMAL OPERATION
# networking.networkmanager.dns = "dnsmasq";
# systemd.network.networks = {
# matchConfig.name = "en0";
# address = [
# "192.168.70.1/24"
# ];
# networkConfig = {
# ConfigureWithoutCarrier = true;
# };
# };
# services.dnsmasq = {
# enable = true;
# settings = {
# port = 0;
# interface = "en0";
# listen-address = "192.168.70.1";
# dhcp-range = [ "192.168.70.2,192.168.70.255,1h" ];
# dhcp-option = "option:router,192.168.70.1";
# };
# };
### System software
environment.systemPackages = [
pkgs.bolt-launcher
pkgs.git
pkgs.gdu