Working on thor
This commit is contained in:
parent
98eb9954ae
commit
7eee9cd4d1
3 changed files with 25 additions and 6 deletions
|
|
@ -133,6 +133,8 @@
|
|||
|
||||
./modules/nixos/pro_audio.nix
|
||||
./modules/nixos/kdeconnect.nix
|
||||
|
||||
./modules/nixos/hyprland.nix
|
||||
] ++ homeManagerModules ++ [
|
||||
{ home-manager.users.bertof = import ./instances/thor/hm.nix; }
|
||||
];
|
||||
|
|
|
|||
|
|
@ -194,12 +194,12 @@ with lib; {
|
|||
# plasma5 = { enable = true; runUsingSystemd = true; useQtScaling = true; };
|
||||
};
|
||||
windowManager.bspwm = { enable = true; };
|
||||
# displayManager.gdm = { enable = true; };
|
||||
displayManager.sddm = {
|
||||
enable = true;
|
||||
theme =
|
||||
"${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance";
|
||||
};
|
||||
displayManager.gdm = { enable = true; };
|
||||
# displayManager.sddm = {
|
||||
# enable = true;
|
||||
# theme =
|
||||
# "${pkgs.sddm-theme-clairvoyance}/usr/share/sddm/themes/clairvoyance";
|
||||
# };
|
||||
|
||||
videoDrivers = [ "nvidia" ];
|
||||
layout = "us,it";
|
||||
|
|
|
|||
17
modules/nixos/hyprland.nix
Normal file
17
modules/nixos/hyprland.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, ... }: {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
nvidiaPatches = builtins.elem "nvidia" config.services.xserver.videoDrivers;
|
||||
xwayland.enable = true;
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
WLR_NO_HARDWARE_CURSORS = "1";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
};
|
||||
|
||||
hardware = {
|
||||
opengl.enable = true;
|
||||
nvidia.modesetting.enable = builtins.elem "nvidia" config.services.xserver.videoDrivers;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue