Koishi, GNOME 3

This commit is contained in:
kat witch 2022-04-12 16:09:01 +01:00 committed by kat
parent 40edeef897
commit 6487421624
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
13 changed files with 74 additions and 12 deletions

View file

@ -2,9 +2,10 @@
imports = with meta; [ imports = with meta; [
profiles.hardware.x270 profiles.hardware.x270
profiles.gui profiles.gui
profiles.gnome
profiles.light profiles.light
profiles.network profiles.network
users.kat.guiFull (users.kat.guiFlavour "gnome")
services.nginx services.nginx
services.dnscrypt-proxy services.dnscrypt-proxy
]; ];

View file

@ -0,0 +1,39 @@
{ config, pkgs, lib, ... }: {
services = {
xserver = {
enable = true;
desktopManager.gnome = {
enable = true;
};
displayManager.gdm = {
enable = true;
};
};
mullvad-vpn.enable = true;
};
hardware.pulseaudio.enable = lib.mkForce false;
xdg.portal.enable = lib.mkForce false;
environment.systemPackages = (with pkgs.gnomeExtensions; [
gsconnect
vitals
paperwm
timezone
switcher
espresso
impatience
noannoyance
arcmenu
tweaks-in-system-menu
activities-icons
random-wallpaper
mullvad-indicator
tray-icons-reloaded
]) ++ (with pkgs; [
mullvad-vpn
ytmdesktop
pkgs.gnome.gnome-shell-extensions
pkgs.gnome.gnome-tweaks
]);
}

View file

@ -18,6 +18,7 @@
"google_translate" "google_translate"
"homekit" "homekit"
"mqtt" "mqtt"
"wake_on_lan"
"zeroconf" "zeroconf"
"luci" "luci"
]; ];
@ -74,6 +75,6 @@
cp --no-preserve=mode ${config.secrets.files.zigbee2mqtt-secret.path} "${cfg.dataDir}/secret.yaml" cp --no-preserve=mode ${config.secrets.files.zigbee2mqtt-secret.path} "${cfg.dataDir}/secret.yaml"
''; '';
network.firewall.public.tcp.ports = [ 8123 8072 ]; network.firewall.public.tcp.ports = [ 8123 8072 1883 ];
network.firewall.private.tcp.ports = [ 8123 ]; network.firewall.private.tcp.ports = [ 8123 ];
} }

View file

@ -46,7 +46,7 @@ in {
}; };
https = true; https = true;
enableImagemagick = true; enableImagemagick = true;
home = "/mnt/zraw/nextcloud"; home = "/mnt/zenc/nextcloud";
hostName = "cloud.kittywit.ch"; hostName = "cloud.kittywit.ch";
autoUpdateApps = { autoUpdateApps = {
enable = true; enable = true;

@ -1 +1 @@
Subproject commit 84b1742d36714279de336e2bee37848d0b3b6de8 Subproject commit bb2c466204d46307e3e374a526268c37ca4f7839

View file

@ -33,6 +33,22 @@ dirImports // {
personal personal
]; ];
}; };
guiBase = {
imports = with dirImports; [
gui
dev
media
personal
];
};
guiFlavour = flavour: {
imports = (with dirImports; [
gui
dev
media
personal
]) ++ [ dirImports.${flavour} ];
};
guiFull = { guiFull = {
imports = with dirImports; [ imports = with dirImports; [
gui gui

View file

@ -0,0 +1,6 @@
{ config, lib, pkgs, ... }: {
home.packages = [ pkgs.pinentry-gnome pkgs.adapta-gtk-theme pkgs.papirus-icon-theme ];
services.gpg-agent = {
pinentryFlavor = lib.mkForce "gnome3";
};
}

View file

@ -2,14 +2,14 @@
{ {
gtk = { gtk = {
enable = true; enable = false;
iconTheme = { iconTheme = {
name = "Papirus-Dark"; name = "Papirus-Dark";
package = pkgs.papirus-icon-theme; package = pkgs.papirus-icon-theme;
}; };
theme = { theme = {
name = "Adementary-dark"; name = "Adapta";
package = pkgs.adementary-theme; package = pkgs.adapta-gtk-theme;
}; };
}; };
} }

View file

@ -10,7 +10,7 @@ with lib;
commonTags = [ "width:>=1600" ]; commonTags = [ "width:>=1600" ];
tagList = map (toList) [ tagList = map (toList) [
(["score:>=50" (["score:>=50"
"touhou"]) #++ optional (nixos.networking.hostName == "koishi") "rating:s") "touhou" "rating:s"]) #++ optional (nixos.networking.hostName == "koishi") "rating:s")
]; ];
}; };
} }

View file

@ -3,7 +3,7 @@
{ {
programs.obs-studio = { programs.obs-studio = {
enable = true; enable = true;
package = pkgs.obs-studio-pipewire; package = pkgs.obs-studio;
plugins = [ pkgs.obs-studio-plugins.wlrobs ]; plugins = [ pkgs.obs-studio-plugins.wlrobs ];
}; };
} }

View file

@ -14,7 +14,7 @@
neovim.plugins = [ pkgs.vimPlugins.notmuch-vim ]; neovim.plugins = [ pkgs.vimPlugins.notmuch-vim ];
}; };
services.imapnotify.enable = true; services.imapnotify.enable = false;
accounts.email = { accounts.email = {
maildirBasePath = "${config.home.homeDirectory}/mail"; maildirBasePath = "${config.home.homeDirectory}/mail";

View file

@ -1,7 +1,7 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
{ {
home.packages = with pkgs; [ pinentry.gtk2 ]; home.packages = lib.mkIf (config.services.gpg-agent.pinentryFlavor == "gtk2") (with pkgs; [ pinentry.gtk2 ]);
services.gpg-agent = { services.gpg-agent = {
enable = true; enable = true;
enableExtraSocket = true; enableExtraSocket = true;

View file

@ -2,7 +2,6 @@
{ {
home.packages = with pkgs; [ home.packages = with pkgs; [
pinentry.gtk2
borgbackup borgbackup
]; ];
} }