flake update 2026-05-22

This commit is contained in:
elwrcl committed 2026-05-22 00:44:44 +03:00
1 parent edceefd595
commit 71a3df098d
45 files changed
+188 -323

No files matched your search

+1
View File
@@ -1,4 +1,5 @@
{ ... }:
{
programs.appimage = {
enable = true;
-1
View File
@@ -9,7 +9,6 @@
./ollama
./performance
./printing
./samba
./security
./ssh
];
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ...}:
{ ... }:
{
services.flatpak.enable = true;
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
services.fwupd.enable = true;
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
programs.kdeconnect.enable = true;
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
services.scx = {
+9 -2
View File
@@ -1,9 +1,16 @@
{ config, pkgs, ... }:
{
pkgs,
...
}:
{
services.printing = {
enable = true;
drivers = [ pkgs.cnijfilter2 pkgs.gutenprint pkgs.gutenprintBin ];
drivers = [
pkgs.cnijfilter2
pkgs.gutenprint
pkgs.gutenprintBin
];
};
services.avahi = {
-62
View File
@@ -1,62 +0,0 @@
{
config,
lib,
pkgs,
...
}:
{
systemd.tmpfiles.rules = [
"d /var/lib/samba/usershares 0755 elars users -"
];
environment.etc."samba/smbusers".text = ''
nobody = guest
'';
services.samba = {
enable = false;
openFirewall = true;
settings = {
global = {
workgroup = "WORKGROUP";
"server string" = config.networking.hostName;
"netbios name" = config.networking.hostName;
security = "user";
"use sendfile" = "yes";
"max protocol" = "SMB3";
"min protocol" = "SMB2";
"hosts allow" = "192.168.1.0/24 127.0.0.1 localhost";
"hosts deny" = "0.0.0.0/0";
"guest account" = "nobody";
"map to guest" = "Bad User";
"usershare path" = "/var/lib/samba/usershares";
"usershare max shares" = "100";
"usershare allow guests" = "yes";
"usershare owner only" = "no";
"usershare prefix allow list" = "/mnt /home";
"idmap config * : backend" = "tdb";
"idmap config * : range" = "3000-7999";
"username map" = "/etc/samba/smbusers";
};
"HDD" = {
path = "/mnt/HDD";
browseable = "yes";
public = "yes";
"read only" = "no";
"guest ok" = "yes";
"guest only" = "yes";
"create mask" = "0664";
"directory mask" = "0775";
"force user" = config.users.users.elars.name;
"force group" = "users";
};
};
};
services.samba-wsdd = {
enable = false;
openFirewall = true;
};
}
+1 -1
View File
@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
services.openssh.enable = true;