mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -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,
|
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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue