refactor desktop

This commit is contained in:
Sam 2024-05-31 11:22:16 +01:00
parent afc6ef3e56
commit 39d407d236
6 changed files with 18 additions and 5 deletions

View File

@ -0,0 +1 @@
{imports = [../common];}

View File

@ -0,0 +1,12 @@
{pkgs, ... }: {
imports = [
./firefox.nix
];
# Global packages for desktop environments
home.packages = [
pkgs.kitty
pkgs.zathura
pkgs.xfce.thunar
pkgs.wofi
];
}

View File

@ -7,6 +7,8 @@
imports = [
../wallpaper-changer/swww-wallpaper-changer
../common
../waybar.nix
];
wayland.windowManager.hyprland = {
enable = true;
@ -25,7 +27,7 @@
${monitor}
$terminal = kitty
$fileManager = dolphin
$fileManager = thunar
$menu = wofi --show drun
env = XCURSOR_SIZE,24

View File

@ -9,14 +9,12 @@
./users/sam
./common/core
./common/optional/sops.nix
./common/optional/firefox.nix
# Import optional
./common/optional/git.nix
./common/optional/sops.nix
./common/optional/syncthing.nix
./common/optional/desktop/hyprland
./common/optional/desktop/waybar.nix
];

View File

@ -10,11 +10,11 @@
./common/core
./common/optional/sops.nix
./common/optional/firefox.nix
# Import optional
./common/optional/git.nix
./common/optional/syncthing.nix
./common/optional/desktop/cinnamon
];
monitors = [