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

View file

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

View file

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