summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2022-10-10 16:09:13 -0400
committerBen Sima <ben@bsima.me>2022-10-10 16:09:13 -0400
commitc703310b801e5fa0389c31b04b6047655656b2af (patch)
treedfe222e67c37baa032cd8486c42ba8b2a7e15fac
parent01b2b9d9376c6aa6f793ab3e00a0e8e95baff5c9 (diff)
Fix network
-rw-r--r--Biz/Dev/Configuration.nix6
-rw-r--r--Biz/Dev/Networking.nix3
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;
};
}