chore: add a new host and make a few adjustments
This commit is contained in:
parent
d084d841ce
commit
688acfe889
16 changed files with 195 additions and 65 deletions
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
networking.hostName = "thegeneralist";
|
||||
{ config, ... }: {
|
||||
networking.hostName = if config.isServer then "thegeneralist-central" else "thegeneralist";
|
||||
networking.networkmanager.enable = true;
|
||||
networking.networkmanager.wifi.powersave = false;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{
|
||||
{ lib, config, ... }: lib.mkIf (!config.isServer) {
|
||||
hardware.nvidia = {
|
||||
open = true;
|
||||
modesetting.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,16 +1,15 @@
|
|||
{ pkgs, lib, ...}: let
|
||||
{ pkgs, lib, config, ...}: let
|
||||
inherit (lib) attrValues;
|
||||
in {
|
||||
environment.systemPackages = attrValues {
|
||||
inherit (pkgs)
|
||||
protonup-qt
|
||||
pipewire
|
||||
pwvucontrol
|
||||
wireplumber
|
||||
playerctl
|
||||
|
||||
playerctl;
|
||||
} ++ (if (!config.isServer) then (attrValues {
|
||||
inherit (pkgs) protonup-qt
|
||||
xsane
|
||||
simple-scan
|
||||
;
|
||||
};
|
||||
simple-scan;
|
||||
}) else []);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ lib, ... }: {
|
||||
{ lib, config, ... }: lib.mkIf (!config.isServer) {
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue