From 9a3d326171872b2acdc7c50e75cbd652d817fa75 Mon Sep 17 00:00:00 2001 From: 4DBug Date: Wed, 12 Feb 2025 17:02:28 -0600 Subject: [PATCH] push --- home/bug/.config/nixos/hardware.nix | 1 - home/bug/.config/nixos/main.nix | 1 - home/bug/.config/nixos/networking.nix | 2 ++ home/bug/.config/nixos/services.nix | 28 +++++++++++++-------------- 4 files changed, 15 insertions(+), 17 deletions(-) diff --git a/home/bug/.config/nixos/hardware.nix b/home/bug/.config/nixos/hardware.nix index facbbec..946dc4a 100644 --- a/home/bug/.config/nixos/hardware.nix +++ b/home/bug/.config/nixos/hardware.nix @@ -3,7 +3,6 @@ { hardware = { # open gl - opengl.enable = true; graphics.enable = true; # nvidia drivers diff --git a/home/bug/.config/nixos/main.nix b/home/bug/.config/nixos/main.nix index a2ecc9e..ee7a26d 100644 --- a/home/bug/.config/nixos/main.nix +++ b/home/bug/.config/nixos/main.nix @@ -3,7 +3,6 @@ { imports = [ - ./hardware-configuration.nix ./boot.nix ./environment.nix ./hardware.nix diff --git a/home/bug/.config/nixos/networking.nix b/home/bug/.config/nixos/networking.nix index 2e21ba2..72db3db 100644 --- a/home/bug/.config/nixos/networking.nix +++ b/home/bug/.config/nixos/networking.nix @@ -5,6 +5,8 @@ hostName = "nix"; networkmanager.enable = true; + # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + # Open ports in the firewall. # firewall.allowedTCPPorts = [ ... ]; # firewall.allowedUDPPorts = [ ... ]; diff --git a/home/bug/.config/nixos/services.nix b/home/bug/.config/nixos/services.nix index f33d05f..a2217cf 100644 --- a/home/bug/.config/nixos/services.nix +++ b/home/bug/.config/nixos/services.nix @@ -2,9 +2,12 @@ { services = { + # touchpad + libinput.enable = true; + # openssh openssh.enable = true; - + # printing printing.enable = true; @@ -17,6 +20,12 @@ # jack.enable = true; }; + # auto login + displayManager.autoLogin = { + enable = true; + user = "bug"; + }; + # x11 xserver = { enable = true; @@ -24,26 +33,15 @@ # enable nvidia drivers videoDrivers = ["nvidia"]; - # touchpad - libinput.enable = true; - # x11 keymap xkb = { layout = "us"; variant = ""; }; - displayManager = { - # gnome de - gdm.enable = true; - gnome.enable = true; - - # auto login - autoLogin = { - enable = true; - user = "bug"; - } - }; + # gnome de + desktopManager.gnome.enable = true; + displayManager.gdm.enable = true; }; # flatpak