simple config
This commit is contained in:
parent
b8c3bfbebf
commit
97e1721ce1
@ -43,11 +43,17 @@
|
||||
# Add stuff for your user as you see fit:
|
||||
programs.neovim.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
steam
|
||||
librewolf
|
||||
kitty
|
||||
teams
|
||||
p3x-onenote
|
||||
spotify
|
||||
zathura
|
||||
playerctl
|
||||
];
|
||||
|
||||
services.playerctld.enable = true;
|
||||
|
||||
# Enable home-manager and git
|
||||
programs.home-manager.enable = true;
|
||||
programs.git.enable = true;
|
||||
|
@ -6,7 +6,7 @@
|
||||
# You can import other NixOS modules here
|
||||
imports = [
|
||||
# If you want to use modules from other flakes (such as nixos-hardware):
|
||||
# inputs.hardware.nixosModules.common-cpu-amd
|
||||
inputs.hardware.nixosModules.common-cpu-amd
|
||||
# inputs.hardware.nixosModules.common-gpu-nvidia
|
||||
|
||||
# You can also split up your configuration and import pieces of it here:
|
||||
|
15
nixos/i3.nix
15
nixos/i3.nix
@ -6,7 +6,7 @@
|
||||
services.xserver = {
|
||||
xrandrHeads = [
|
||||
"HDMI-1 --auto --left-of DP-1"
|
||||
"DP-1 --auto --primary HDMI-1"
|
||||
"DP-1 --auto --primary"
|
||||
];
|
||||
|
||||
enable = true;
|
||||
@ -16,6 +16,9 @@
|
||||
};
|
||||
|
||||
displayManager.defaultSession = "none+i3";
|
||||
displayManager.lightdm.enable = true;
|
||||
displayManager.autoLogin.enable = true;
|
||||
displayManager.autoLogin.user = "mans";
|
||||
|
||||
windowManager.i3 = {
|
||||
enable = true;
|
||||
@ -30,4 +33,14 @@
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.opengl.enable = true;
|
||||
|
||||
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
|
||||
# nvidia-drm.modeset=1 is required for some wayland compositors, e.g. sway
|
||||
hardware.nvidia.modesetting.enable = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user