aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMihai Fufezan <[email protected]>2022-12-07 19:18:15 +0200
committerMihai Fufezan <[email protected]>2022-12-07 19:18:15 +0200
commit5b7fec481bcd795a518667eb19864d663b1a47d6 (patch)
tree75deba9a4f33571be4dba1a83ad8f6bdfb2ff396
parent73b3bbe49bf5a059df688b389aba7f947f62626c (diff)
downloadHyprland-5b7fec481bcd795a518667eb19864d663b1a47d6.tar.gz
Hyprland-5b7fec481bcd795a518667eb19864d663b1a47d6.zip
nix: add cachix to nixos module
-rw-r--r--nix/module.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nix/module.nix b/nix/module.nix
index 55c667a9..3043a41b 100644
--- a/nix/module.nix
+++ b/nix/module.nix
@@ -50,12 +50,21 @@ in {
NIXOS_OZONE_WL = "1";
};
};
+
fonts.enableDefaultFonts = mkDefault true;
hardware.opengl.enable = mkDefault true;
+
+ # enable cachix
+ nix.settings = {
+ substituters = ["https://hyprland.cachix.org"];
+ trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
+ };
+
programs = {
dconf.enable = mkDefault true;
xwayland.enable = mkDefault true;
};
+
security.polkit.enable = true;
services.xserver.displayManager.sessionPackages = lib.optional (cfg.package != null) cfg.package;
xdg.portal = {