Migrate remaining nixos modules

This commit is contained in:
2025-04-22 23:11:45 +02:00
parent 94498a0038
commit dcdc97aad8
13 changed files with 54 additions and 369 deletions

View File

@ -0,0 +1,16 @@
{
config,
lib,
pkgs,
inputs,
...
}:
{
programs.hyprland.enable = true;
programs.hyprland.package = inputs.hyprland.packages.${pkgs.system}.hyprland; # does only work with nixos-unstable
programs.hyprland.xwayland.enable = true;
security.pam.services.hyprlock = { };
services.displayManager.defaultSession = "hyprland";
}

View File

@ -0,0 +1,19 @@
{
config,
lib,
pkgs,
...
}:
{
programs.thunar.enable = true;
programs.xfconf.enable = true; # Persist saved preferences
programs.thunar.plugins = with pkgs.xfce; [
thunar-archive-plugin
thunar-volman
thunar-media-tags-plugin
];
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
}

View File

@ -0,0 +1,18 @@
{
config,
lib,
pkgs,
...
}:
{
environment.sessionVariables.NIXOS_OZONE_WL = "1"; # Hint electron apps to use wayland
security.pam.services.gtklock = { };
environment.systemPackages = with pkgs; [
kdePackages.qtwayland
wl-clipboard
];
}