This commit is contained in:
Sridhar Ratnakumar 2024-11-27 16:10:37 -05:00
parent 087e7a96db
commit a5e6c1ba75
3 changed files with 7 additions and 4 deletions

View file

@ -22,6 +22,7 @@ in
services.syncthing = { enable = true; user = "srid"; dataDir = "/home/srid/Documents"; };
programs.nix-ld.enable = true; # for vscode server
programs.steam.enable = true;
environment.systemPackages = with pkgs; [
google-chrome

View file

@ -2,22 +2,25 @@
let
inherit (flake) inputs;
hyprlandPkgs = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system};
in
{
programs.hyprland = {
enable = true;
# set the flake package
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
package = hyprlandPkgs.hyprland;
# make sure to also set the portal package, so that they are in sync
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
portalPackage = hyprlandPkgs.xdg-desktop-portal-hyprland;
};
security.pam.services.hyprlock = { };
home-manager.sharedModules = [ ./home ];
# hint Electron apps to use Wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";
environment.systemPackages = with pkgs; [
kitty
grimblast
acpi

View file

@ -9,7 +9,6 @@
enable = true;
};
services.dunst.enable = true;
home.sessionVariables.NIXOS_OZONE_WL = "1";
programs.hyprlock.enable = true;
programs.rofi = {