hyprland
This commit is contained in:
@@ -119,12 +119,12 @@ in
|
||||
enable = true;
|
||||
wants = [ "network-online.target" ];
|
||||
after = [ "network-online.target" ];
|
||||
# before = [ "display-manager.service" ];
|
||||
# requiredBy = [
|
||||
# "plymouth-quit-wait.service"
|
||||
# "display-manager.service"
|
||||
# ];
|
||||
# wantedBy = [ "display-manager.service" ];
|
||||
# before = [ "display-manager.service" ];
|
||||
# requiredBy = [
|
||||
# "plymouth-quit-wait.service"
|
||||
# "display-manager.service"
|
||||
# ];
|
||||
# wantedBy = [ "display-manager.service" ];
|
||||
path = [
|
||||
pkgs.bash
|
||||
pkgs.jq
|
||||
|
||||
@@ -83,10 +83,5 @@ in
|
||||
dns_enabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
# Common development programs
|
||||
programs = {
|
||||
nix-ld.enable = lib.mkDefault true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -9,7 +9,10 @@
|
||||
}:
|
||||
let
|
||||
isArm = ("aarch64-linux" == system) || ("aarch64-darwin" == system);
|
||||
hasDestopEnvironment = config.${namespace}.desktop.cosmic.enable || config.${namespace}.desktop.gnome.enable || config.${namespace}.desktop.hyprland.enable;
|
||||
hasDestopEnvironment =
|
||||
config.${namespace}.desktop.cosmic.enable
|
||||
|| config.${namespace}.desktop.gnome.enable
|
||||
|| config.${namespace}.desktop.hyprland.enable;
|
||||
in
|
||||
{
|
||||
|
||||
|
||||
@@ -61,6 +61,12 @@ in
|
||||
"/var/lib/systemd/coredump"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
"/var/lib/tailscale"
|
||||
{
|
||||
directory = "/var/lib/wallpapers";
|
||||
user = "nobody";
|
||||
group = "nobody";
|
||||
mode = "u=rwx,g=rwx,o=rx";
|
||||
}
|
||||
{
|
||||
directory = "/etc/nix";
|
||||
user = "root";
|
||||
|
||||
@@ -1,6 +1,15 @@
|
||||
{ config, pkgs, lib, namespace, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
namespace,
|
||||
...
|
||||
}:
|
||||
let
|
||||
hasDestopEnvironment = config.${namespace}.desktop.cosmic.enable || config.${namespace}.desktop.gnome.enable || config.${namespace}.desktop.hyprland.enable;
|
||||
hasDestopEnvironment =
|
||||
config.${namespace}.desktop.cosmic.enable
|
||||
|| config.${namespace}.desktop.gnome.enable
|
||||
|| config.${namespace}.desktop.hyprland.enable;
|
||||
in
|
||||
{
|
||||
programs = {
|
||||
|
||||
@@ -40,7 +40,7 @@ let
|
||||
group = "actual";
|
||||
home = cfg.dataDir;
|
||||
};
|
||||
users.groups.actual = {};
|
||||
users.groups.actual = { };
|
||||
};
|
||||
|
||||
# Create reverse proxy configuration using mkReverseProxy
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
namespace,
|
||||
...
|
||||
@@ -18,7 +17,7 @@ let
|
||||
settings = {
|
||||
server_url = "https://headscale.mjallen.dev:443";
|
||||
database.sqlite.path = "${cfg.dataDir}/db.sqlite";
|
||||
dns ={
|
||||
dns = {
|
||||
nameservers.global = [
|
||||
"1.1.1.1"
|
||||
"8.8.8.8"
|
||||
|
||||
@@ -6,10 +6,8 @@
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
inherit (lib.${namespace}) mkOpt mkReverseProxyOpt;
|
||||
inherit (lib.${namespace}) mkOpt;
|
||||
cfg = config.${namespace}.services.jellyseerr;
|
||||
|
||||
jellyseerrPort = 5055;
|
||||
in
|
||||
{
|
||||
options.${namespace}.services.jellyseerr = {
|
||||
@@ -46,6 +44,6 @@ in
|
||||
group = "jellyseerr";
|
||||
home = cfg.dataDir;
|
||||
};
|
||||
users.groups.jellyseerr = {};
|
||||
users.groups.jellyseerr = { };
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,8 +8,6 @@ let
|
||||
inherit (lib.${namespace}) mkOpt mkReverseProxyOpt;
|
||||
cfg = config.${namespace}.services.ntfy;
|
||||
|
||||
ntfyEnvFile = config.sops.secrets."jallen-nas/ntfy/auth-users".path;
|
||||
|
||||
ntfyConfig = {
|
||||
services = {
|
||||
ntfy-sh = {
|
||||
@@ -48,7 +46,7 @@ let
|
||||
group = "ntfy-sh";
|
||||
home = cfg.dataDir;
|
||||
};
|
||||
users.groups.ntfy-sh = {};
|
||||
users.groups.ntfy-sh = { };
|
||||
};
|
||||
|
||||
# Create reverse proxy configuration using mkReverseProxy
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
namespace,
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user