From c609d543ac273444e1ae26c4701c997d498124f2 Mon Sep 17 00:00:00 2001 From: System administrator Date: Thu, 19 Aug 2021 18:32:17 +0000 Subject: [PATCH] stuff --- desktop/default.nix | 2 +- hosts/nixda/configuration.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/desktop/default.nix b/desktop/default.nix index 1092570..5fbec0e 100644 --- a/desktop/default.nix +++ b/desktop/default.nix @@ -7,7 +7,7 @@ allowUnfree = true; }; # boot.plymouth.splashBeforeUnlock = true; - users.users.schweby.packages = with pkgs; [ + environment.systemPackages = with pkgs; [ pulsemixer pavucontrol firefox git kitty j4-dmenu-desktop bemenu breeze-qt5 mako diff --git a/hosts/nixda/configuration.nix b/hosts/nixda/configuration.nix index 1a168d1..115e1ea 100644 --- a/hosts/nixda/configuration.nix +++ b/hosts/nixda/configuration.nix @@ -40,6 +40,20 @@ ]; }; + services.xserver = { + enable = true; + videoDrivers = [ "nvidia" ]; + }; + hardware.nvidia.modesetting.enable = true; + + boot.kernelPackages = pkgs.linuxPackages; + + users.users.stream = { + isNormalUser = true; + password = "hacchacc"; + extraGroups = [ "audio" "video" ]; + }; + # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions # on your system were taken. It‘s perfectly fine and recommended to leave