GTK
This commit is contained in:
parent
bce7da7e64
commit
ffca372e29
5 changed files with 52 additions and 10 deletions
|
@ -34,15 +34,12 @@
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main-window[tabsintitlebar="
|
#main-window[tabsintitlebar="true"]:not([extradragspace="true"]) #TabsToolbar>.toolbar-items {
|
||||||
true "]:not([extradragspace="
|
|
||||||
true "]) #TabsToolbar>.toolbar-items {
|
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#main-window:not([tabsintitlebar="
|
#main-window:not([tabsintitlebar="true"]) #TabsToolbar {
|
||||||
true "]) #TabsToolbar {
|
|
||||||
visibility: collapse !important;
|
visibility: collapse !important;
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
gtk = {
|
gtk = {
|
||||||
enable = true;
|
enable = true;
|
||||||
theme = {
|
theme = {
|
||||||
name = "Catppuccin-Mocha-Compact-Sapphire-dark";
|
name = "Catppuccin-Mocha-Compact-Sapphire-Dark";
|
||||||
package = pkgs.catppuccin-gtk.override {
|
package = pkgs.catppuccin-gtk.override {
|
||||||
accents = ["sapphire"];
|
accents = ["sapphire"];
|
||||||
size = "compact";
|
size = "compact";
|
||||||
tweaks = ["rimless" "black"];
|
tweaks = ["rimless"];
|
||||||
variant = "mocha";
|
variant = "mocha";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -15,6 +15,12 @@
|
||||||
linux-desktop
|
linux-desktop
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.wofi = {
|
||||||
|
enable = true;
|
||||||
|
# settings = {};
|
||||||
|
# style = '' '';
|
||||||
|
};
|
||||||
|
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
name = "Bibata-Modern-Classic";
|
name = "Bibata-Modern-Classic";
|
||||||
package = pkgs.bibata-cursors;
|
package = pkgs.bibata-cursors;
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
|
|
||||||
environment = {
|
environment = {
|
||||||
variables = {
|
variables = {
|
||||||
GTK_THEME = "hx";
|
GTK_THEME = "Catppuccin-Mocha-Compact-Sapphire-Dark";
|
||||||
VISUAL = "hx";
|
VISUAL = "hx";
|
||||||
PAGER = "less";
|
PAGER = "less";
|
||||||
MANPAGER = "less";
|
MANPAGER = "less";
|
||||||
|
@ -77,7 +77,6 @@
|
||||||
weechat
|
weechat
|
||||||
wine
|
wine
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
wofi
|
|
||||||
zathura
|
zathura
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
|
@ -150,6 +150,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
|
|
||||||
users.extraGroups = {
|
users.extraGroups = {
|
||||||
"plausible" = {};
|
"plausible" = {};
|
||||||
|
"nextcloud" = {};
|
||||||
"lytedev" = {};
|
"lytedev" = {};
|
||||||
};
|
};
|
||||||
users.groups.daniel.members = ["daniel"];
|
users.groups.daniel.members = ["daniel"];
|
||||||
|
@ -212,6 +213,13 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
group = "plausible";
|
group = "plausible";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users.users.nextcloud = {
|
||||||
|
# used for anonymous samba access
|
||||||
|
isSystemUser = true;
|
||||||
|
createHome = false;
|
||||||
|
group = "nextcloud";
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = [pkgs.linuxquota];
|
environment.systemPackages = [pkgs.linuxquota];
|
||||||
|
|
||||||
# TODO: make the client declarative? right now I think it's manually git
|
# TODO: make the client declarative? right now I think it's manually git
|
||||||
|
@ -277,6 +285,10 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
reverse_proxy :${toString config.services.plausible.server.port}
|
reverse_proxy :${toString config.services.plausible.server.port}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
nextcloud.lyte.dev {
|
||||||
|
reverse_proxy :${toString 9999}
|
||||||
|
}
|
||||||
|
|
||||||
git.lyte.dev {
|
git.lyte.dev {
|
||||||
reverse_proxy :${toString config.services.gitea.settings.server.HTTP_PORT}
|
reverse_proxy :${toString config.services.gitea.settings.server.HTTP_PORT}
|
||||||
}
|
}
|
||||||
|
@ -384,7 +396,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ensureDatabases = ["daniel" "plausible"];
|
ensureDatabases = ["daniel" "plausible" "nextcloud"];
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "daniel";
|
name = "daniel";
|
||||||
|
@ -398,6 +410,12 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
"DATABASE plausible" = "ALL PRIVILEGES";
|
"DATABASE plausible" = "ALL PRIVILEGES";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "nextcloud";
|
||||||
|
ensurePermissions = {
|
||||||
|
"DATABASE nextcloud" = "ALL PRIVILEGES";
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
dataDir = "/storage/postgres";
|
dataDir = "/storage/postgres";
|
||||||
enableTCPIP = true;
|
enableTCPIP = true;
|
||||||
|
@ -410,6 +428,7 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
local all daniel peer map=superuser_map
|
local all daniel peer map=superuser_map
|
||||||
local sameuser all peer map=superuser_map
|
local sameuser all peer map=superuser_map
|
||||||
local plausible plausible peer map=superuser_map
|
local plausible plausible peer map=superuser_map
|
||||||
|
local nextcloud nextcloud peer map=superuser_map
|
||||||
|
|
||||||
# lan ipv4
|
# lan ipv4
|
||||||
host all all 10.0.0.0/24 trust
|
host all all 10.0.0.0/24 trust
|
||||||
|
@ -577,6 +596,27 @@ sudo nix run nixpkgs#ipmitool -- raw 0x30 0x30 0x02 0xff 0x00
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.redis = {
|
||||||
|
servers = {
|
||||||
|
nextcloud = {
|
||||||
|
enable = true;
|
||||||
|
user = config.systemd.services.nextcloud.serviceConfig.User;
|
||||||
|
# group = config.systemd.services.nextcloud.serviceConfig.Group;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
services.nextcloud = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.nextcloud27;
|
||||||
|
|
||||||
|
config = {
|
||||||
|
dbtype = "pgsql";
|
||||||
|
};
|
||||||
|
|
||||||
|
hostName = "nextcloud.lyte.dev";
|
||||||
|
};
|
||||||
|
|
||||||
# paths:
|
# paths:
|
||||||
# TODO: move previous backups over and put here
|
# TODO: move previous backups over and put here
|
||||||
# clickhouse and plausible analytics once they're up and running?
|
# clickhouse and plausible analytics once they're up and running?
|
||||||
|
|
Loading…
Reference in a new issue