oops
This commit is contained in:
parent
fb545ba987
commit
cc9a943a04
5 changed files with 11 additions and 12 deletions
|
@ -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; };
|
||||||
};
|
};
|
||||||
|
|
|
@ -49,12 +49,11 @@ with lib;
|
||||||
description = "System purpose";
|
description = "System purpose";
|
||||||
default = "Development";
|
default = "Development";
|
||||||
};
|
};
|
||||||
};
|
monitoring.prometheus.scrapeConfigs = mkOption {
|
||||||
|
type = lib.types.listOf lib.types.attrs;
|
||||||
monitoring.prometheus.scrapeConfigs = mkOption {
|
description = "Prometheus scrape targets";
|
||||||
type = lib.types.listOf lib.types.attrs;
|
default = [ ];
|
||||||
description = "Prometheus scrape targets";
|
};
|
||||||
default = [ ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue