mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 16:23:57 +01:00
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:
parent
f00d3538ef
commit
57856917aa
@ -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;
|
||||
}
|
@ -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;
|
||||
}
|
||||
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
Loading…
Reference in New Issue
Block a user