From c703310b801e5fa0389c31b04b6047655656b2af Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 10 Oct 2022 16:09:13 -0400 Subject: Fix network --- Biz/Dev/Configuration.nix | 6 +++++- Biz/Dev/Networking.nix | 3 +-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Biz/Dev/Configuration.nix b/Biz/Dev/Configuration.nix index 4e0a5f8..bcf184d 100644 --- a/Biz/Dev/Configuration.nix +++ b/Biz/Dev/Configuration.nix @@ -19,6 +19,7 @@ in { ]; environment.systemPackages = [ + pkgs.nvtop # pkgs.k3s pkgs.wemux pkgs.tmux @@ -42,6 +43,8 @@ in { }; }; + #hardware.nvidia.nvidiaPersistenced = true; + programs.bash.enableCompletion = true; programs.command-not-found.enable = true; programs.gnupg.agent.enable = true; @@ -66,7 +69,7 @@ in { services.eternal-terminal.enable = true; - services.k3s.enable = true; + services.k3s.enable = false; services.k3s.role = "server"; services.syncthing.enable = true; @@ -107,6 +110,7 @@ in { services.xserver.autorun = true; services.xserver.layout = "us"; services.xserver.xkbOptions = "caps:ctrl_modifier"; + services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.serverFlagsSection = '' Option "BlankTime" "0" Option "StandbyTime" "0" diff --git a/Biz/Dev/Networking.nix b/Biz/Dev/Networking.nix index 721b8bf..46b2d23 100644 --- a/Biz/Dev/Networking.nix +++ b/Biz/Dev/Networking.nix @@ -53,8 +53,7 @@ in { # Per-interface useDHCP will be mandatory in the future, so this generated config # replicates the default behaviour. useDHCP = false; - interfaces.enp1s0.useDHCP = true; - interfaces.wlp0s20f0u4.useDHCP = true; + interfaces.enp2s0.useDHCP = true; }; } -- cgit v1.2.3