forked from poz/niksos
fix: move hyprland portal stuff to hypr.nix
This commit is contained in:
parent
2035ca60fd
commit
01c8a12eea
2 changed files with 9 additions and 9 deletions
|
@ -245,14 +245,6 @@
|
|||
cpu.amd.updateMicrocode = true;
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
|
||||
services.btrfs = {
|
||||
autoScrub = {
|
||||
enable = true;
|
||||
|
|
|
@ -19,17 +19,25 @@
|
|||
inherit (inputs.shadower.packages.${pkgs.system}) shadower;
|
||||
inherit (inputs.hyprland.packages.${pkgs.system}) hyprland;
|
||||
in {
|
||||
|
||||
options.myOptions.programs.hyprland = {
|
||||
enable = mkEnableOption "enable hiper ląd";
|
||||
};
|
||||
|
||||
imports = [ inputs.hyprland.nixosModules.default ];
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
nix.settings = {
|
||||
substituters = [ "https://hyprland.cachix.org" ];
|
||||
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
];
|
||||
};
|
||||
|
||||
home-manager.users.${config'.username} = {
|
||||
imports = [ inputs.hyprland.homeManagerModules.default ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue