mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 23:14:57 +08:00
refactor
This commit is contained in:
parent
087e7a96db
commit
a5e6c1ba75
3 changed files with 7 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -9,7 +9,6 @@
|
|||
enable = true;
|
||||
};
|
||||
services.dunst.enable = true;
|
||||
home.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
|
||||
programs.hyprlock.enable = true;
|
||||
programs.rofi = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue