refactor: modularize programs and services

This commit is contained in:
lightly-toasted 2025-08-24 22:23:10 +09:00
parent 191d3c3392
commit f74e59d56b
16 changed files with 126 additions and 69 deletions

View file

@ -0,0 +1,13 @@
{ config, pkgs, ... }:
{
imports = [
./zsh.nix
./hyprland.nix
./thunar.nix
./xfconf.nix
./ssh.nix
./ydotool.nix
./steam.nix
];
}

View file

@ -0,0 +1,9 @@
{ config, pkgs, ... }:
{
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
}

View file

@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
programs.ssh.startAgent = true;
}

View file

@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
programs.steam.enable = true;
}

View file

@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
programs.thunar = {
enable = true;
plugins = with pkgs.xfce; [
thunar-volman
];
};
services.gvfs.enable = true; # Mount, trash, and other functionalities
services.tumbler.enable = true; # Thumbnail support for images
}

View file

@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
programs.xfconf.enable = true;
}

View file

@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
programs.ydotool.enable = true;
}

View file

@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
programs.zsh.enable = true;
}