This commit is contained in:
Joseph Hanson 2024-07-30 19:41:21 -05:00
parent fb545ba987
commit cc9a943a04
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o
5 changed files with 11 additions and 12 deletions

View file

@ -6,6 +6,7 @@ in
{ {
options = { options = {
mySystem.de.gnome = { mySystem.de.gnome = {
enable = mkEnableOption "GNOME" // { default = true; };
systrayicons = mkEnableOption "Enable systray icons" // { default = true; }; systrayicons = mkEnableOption "Enable systray icons" // { default = true; };
gsconnect = mkEnableOption "Enable gsconnect (KDEConnect for GNOME)" // { default = true; }; gsconnect = mkEnableOption "Enable gsconnect (KDEConnect for GNOME)" // { default = true; };
}; };

View file

@ -49,13 +49,12 @@ with lib;
description = "System purpose"; description = "System purpose";
default = "Development"; default = "Development";
}; };
};
monitoring.prometheus.scrapeConfigs = mkOption { monitoring.prometheus.scrapeConfigs = mkOption {
type = lib.types.listOf lib.types.attrs; type = lib.types.listOf lib.types.attrs;
description = "Prometheus scrape targets"; description = "Prometheus scrape targets";
default = [ ]; default = [ ];
}; };
};
config = { config = {
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [

View file

@ -18,13 +18,13 @@ in
driSupport32Bit = true; driSupport32Bit = true;
}; };
hardware.opengl.extraPackages = with pkgs; [ opengl.extraPackages = with pkgs; [
vaapiVdpau vaapiVdpau
]; ];
# This is for the benefit of VSCODE running natively in wayland # This is for the benefit of VSCODE running natively in wayland
hardware.nvidia = { nvidia = {
# Modesetting is required. # Modesetting is required.
modesetting.enable = true; modesetting.enable = true;

View file

@ -40,7 +40,7 @@ in
networking.firewall.interfaces.podman0.allowedUDPPorts = [ 53 ]; networking.firewall.interfaces.podman0.allowedUDPPorts = [ 53 ];
# extra user for containers # extra user for containers
users = { users.users = {
kah = { kah = {
uid = 568; uid = 568;
group = "kah"; group = "kah";

View file

@ -18,10 +18,9 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
services = { services = {
samaba = { samba = {
enable = true; enable = true;
inherit (cfg) extraConfig; inherit (cfg) extraConfig shares;
inherit (cfg) shares;
openFirewall = true; openFirewall = true;
}; };
}; };