actually enable hyprland

This commit is contained in:
Daylin Morgan 2024-03-21 11:30:27 -05:00
parent f373cc323b
commit f69f2839da
Signed by: daylin
GPG key ID: 950D13E9719334AD
3 changed files with 5 additions and 11 deletions

View file

@ -1,17 +1,13 @@
{
pkgs,
self,
lib,
...
}: let
inherit (lib) enabled;
in {
imports = with self.nixosModules; [
restic
];
oizys = {
desktop = enabled;
hyprland = enabled;
chrome = enabled;
docker = enabled;
nix-ld = enabled;
@ -32,8 +28,6 @@ in {
quarto
];
programs.hyprland.enable = true;
services.restic.backups.gdrive = {
user = "daylin";
repository = "rclone:g:archives/othalan";

View file

@ -5,7 +5,7 @@
lib,
...
}: let
inherit (lib) mkOizysModule;
inherit (lib) mkOizysModule enabled;
lock = pkgs.writeShellApplication {
name = "lock";
runtimeInputs = with pkgs; [swaylock];
@ -15,6 +15,7 @@
};
in
mkOizysModule config "hyprland" {
programs.hyprland = enabled;
security.pam.services.swaylock = {};
# Optional, hint electron apps to use wayland:
environment.sessionVariables.NIXOS_OZONE_WL = "1";

View file

@ -14,9 +14,6 @@ in {
vpn
gpg
# gui
fonts
lock
qtile
hyprland
@ -25,6 +22,7 @@ in {
docker
gui
fonts
languages
@ -33,6 +31,7 @@ in {
vscode
nix-ld
restic
];
options.oizys.desktop.enable = mkEnableOption "is desktop";