nix: Move desktop modules to modules

This concludes the unification of modules. Future work could include
combining modules that are unlikely to be used separately.
This commit is contained in:
Donovan Glover 2023-06-05 12:51:33 -04:00
parent f00d3538ef
commit 57856917aa
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
16 changed files with 39 additions and 46 deletions

View File

@ -1,46 +0,0 @@
{ pkgs, ... }:
{
imports = [
./dual-function-keys
./dunst
./fcitx5-mozc
./fonts
./hyprland
./pipewire
./rofi
./stylix
./swaylock
./waybar
./xdg-user-dirs
];
environment.systemPackages = with pkgs; [
grim
slurp
wl-clipboard
lnch
wev
swww
kickoff
greetd.tuigreet
(pkgs.callPackage ../packages/nwg-dock { })
];
services.greetd = {
enable = true;
restart = false;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
user = "greeter";
};
initial_session = {
command = "${pkgs.hyprland}/bin/Hyprland";
user = "user";
};
};
};
zramSwap.enable = true;
}

View File

@ -17,6 +17,18 @@
./ncmpcpp
./neovim
./joshuto
./dual-function-keys
./dunst
./fcitx5-mozc
./fonts
./hyprland
./pipewire
./rofi
./stylix
./swaylock
./waybar
./xdg-user-dirs
];
virtualisation.vmware.host = {
@ -105,6 +117,16 @@
tessen
wtype
mtr
grim
slurp
wl-clipboard
lnch
wev
swww
kickoff
greetd.tuigreet
(pkgs.callPackage ../packages/nwg-dock { })
];
home-manager.sharedModules = [{
@ -116,4 +138,21 @@
package = pkgs."htop-vim";
settings = { tree_view = 1; };
};
services.greetd = {
enable = true;
restart = false;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
user = "greeter";
};
initial_session = {
command = "${pkgs.hyprland}/bin/Hyprland";
user = "user";
};
};
};
zramSwap.enable = true;
}

View File

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB