mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -06:00
actually enable hyprland
This commit is contained in:
parent
f373cc323b
commit
f69f2839da
3 changed files with 5 additions and 11 deletions
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue