simple config
This commit is contained in:
parent
b8c3bfbebf
commit
97e1721ce1
@ -43,11 +43,17 @@
|
|||||||
# Add stuff for your user as you see fit:
|
# Add stuff for your user as you see fit:
|
||||||
programs.neovim.enable = true;
|
programs.neovim.enable = true;
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
steam
|
|
||||||
librewolf
|
librewolf
|
||||||
kitty
|
kitty
|
||||||
|
teams
|
||||||
|
p3x-onenote
|
||||||
|
spotify
|
||||||
|
zathura
|
||||||
|
playerctl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
services.playerctld.enable = true;
|
||||||
|
|
||||||
# Enable home-manager and git
|
# Enable home-manager and git
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
# You can import other NixOS modules here
|
# You can import other NixOS modules here
|
||||||
imports = [
|
imports = [
|
||||||
# If you want to use modules from other flakes (such as nixos-hardware):
|
# 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
|
# inputs.hardware.nixosModules.common-gpu-nvidia
|
||||||
|
|
||||||
# You can also split up your configuration and import pieces of it here:
|
# You can also split up your configuration and import pieces of it here:
|
||||||
@ -101,7 +101,7 @@
|
|||||||
alsa.support32Bit = true;
|
alsa.support32Bit = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
# If you want to use JACK applications, uncomment this
|
# If you want to use JACK applications, uncomment this
|
||||||
#jack.enable = true;
|
# jack.enable = true;
|
||||||
|
|
||||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||||
# no need to redefine it in your config for now)
|
# no need to redefine it in your config for now)
|
||||||
|
15
nixos/i3.nix
15
nixos/i3.nix
@ -6,7 +6,7 @@
|
|||||||
services.xserver = {
|
services.xserver = {
|
||||||
xrandrHeads = [
|
xrandrHeads = [
|
||||||
"HDMI-1 --auto --left-of DP-1"
|
"HDMI-1 --auto --left-of DP-1"
|
||||||
"DP-1 --auto --primary HDMI-1"
|
"DP-1 --auto --primary"
|
||||||
];
|
];
|
||||||
|
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -16,6 +16,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
displayManager.defaultSession = "none+i3";
|
displayManager.defaultSession = "none+i3";
|
||||||
|
displayManager.lightdm.enable = true;
|
||||||
|
displayManager.autoLogin.enable = true;
|
||||||
|
displayManager.autoLogin.user = "mans";
|
||||||
|
|
||||||
windowManager.i3 = {
|
windowManager.i3 = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@ -30,4 +33,14 @@
|
|||||||
layout = "us";
|
layout = "us";
|
||||||
xkbVariant = "";
|
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