Compare commits

...

4 Commits

Author SHA1 Message Date
67ed1a44b1 [z790prors] Add i3wm and kdeconnect 2024-09-02 09:09:52 -07:00
65bc26c017 [z790prors] Add johno to input group 2024-09-02 09:09:20 -07:00
b176707b41 [z790prors] nvidia driver tweaks 2024-09-02 09:08:48 -07:00
b851c0fed3 [z790prors] Use static networking
This should significantly speeds up boot time in userspace
2024-09-02 09:07:39 -07:00

View File

@@ -22,17 +22,27 @@ in
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.grub.useOSProber = true;
networking.hostName = "z790prors-nix"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Set your time zone.
time.timeZone = "America/Los_Angeles";
networking = {
hostName = "z790prors-nix"; # Define your hostname.
domain = "oglehome";
defaultGateway = "10.0.0.1";
nameservers = [ "10.0.0.1" ];
# The global useDHCP flag is deprecated, therefore explicitly set to false here.
# Per-interface useDHCP will be mandatory in the future, so this generated config
# replicates the default behaviour.
networking.useDHCP = false;
networking.interfaces.enp3s0.useDHCP = true;
useDHCP = false;
interfaces.enp3s0.ipv4.addresses = [{
address = "10.0.0.37";
prefixLength = 24;
}];
};
# Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/";
@@ -68,8 +78,14 @@ in
powerManagement.finegrained = false;
open = false;
nvidiaSettings = true;
package = config.boot.kernelPackages.nvidiaPackages.beta;
package = config.boot.kernelPackages.nvidiaPackages.production;
};
boot.initrd.kernelModules = [
"nvidia"
"nvidia_modeset"
"nvidia_uvm"
"nvidia_drm"
];
# Configure keymap in X11
# services.xserver.layout = "us";
@@ -88,7 +104,7 @@ in
users.users.johno = {
isNormalUser = true;
description = "John Ogle";
extraGroups = [ "wheel" "networkmanager" "audio" "libvirtd" ]; # Enable sudo for the user.
extraGroups = [ "wheel" "networkmanager" "audio" "libvirtd" "input" ]; # Enable sudo for the user.
};
users.users.eli = {
@@ -137,7 +153,21 @@ in
sddm.wayland.enable = true;
#defaultSession = "plasmax11";
};
services.desktopManager.plasma6.enable = true;
services.xserver.windowManager.i3 = {
enable = true;
extraPackages = with pkgs; [
dmenu
i3status
i3lock
];
};
# Helps with i3. Not sure what dconf is though honestly
programs.dconf.enable = true;
programs.kdeconnect.enable = true;
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;