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 = {
mySystem.de.gnome = {
enable = mkEnableOption "GNOME" // { default = true; };
systrayicons = mkEnableOption "Enable systray icons" // { default = true; };
gsconnect = mkEnableOption "Enable gsconnect (KDEConnect for GNOME)" // { default = true; };
};

View file

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

View file

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

View file

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

View file

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