Add extra Hyprland packages back to flake

This commit is contained in:
Evie Litherland-Smith 2023-06-27 16:10:31 +01:00
parent 121eebc2b2
commit bbc11f6af2
2 changed files with 30 additions and 15 deletions

View file

@ -29,11 +29,33 @@
users.root.imports = [./home/env/bash.nix ./home/env/starship.nix]; users.root.imports = [./home/env/bash.nix ./home/env/starship.nix];
}; };
}; };
hyprland-config = { hyprland-config = {pkgs, ...}: {
imports = [hyprland.nixosModules.default]; imports = [hyprland.nixosModules.default];
environment.systemPackages = with pkgs; [
gsettings-desktop-schemas
pavucontrol
pamixer
pulseaudio
pipewire
wireplumber
wl-clipboard
swayimg
hyprpaper
grim
slurp
];
security.pam.services.swaylock = {}; security.pam.services.swaylock = {};
programs.hyprland.enable = true; programs = {
services.greetd = { hyprland.enable = true;
thunar = {
enable = true;
plugins = with pkgs.xfce; [thunar-archive-plugin thunar-volman];
};
};
services = {
gvfs.enable = true; # Mount, trash, and other functionalities
tumbler.enable = true; # Thumbnail support for images
greetd = {
enable = true; enable = true;
settings = rec { settings = rec {
initial_session.command = "Hyprland"; initial_session.command = "Hyprland";
@ -41,6 +63,7 @@
}; };
}; };
}; };
};
hyprland-home-config = {pkgs, ...}: { hyprland-home-config = {pkgs, ...}: {
imports = [ imports = [
hyprland.homeManagerModules.default hyprland.homeManagerModules.default

View file

@ -5,19 +5,11 @@
}: { }: {
imports = [ imports = [
./swaylock.nix ./swaylock.nix
# ./eww.nix
./waybar.nix ./waybar.nix
./gtk.nix ./gtk.nix
./dunst.nix ./dunst.nix
./rofi.nix ./rofi.nix
]; ];
home.packages = with pkgs; [
pipewire
wireplumber
wl-clipboard
swayimg
hyprpaper
];
programs.rofi.package = pkgs.rofi-wayland; programs.rofi.package = pkgs.rofi-wayland;
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;