add: home-manager,hyprland,kitten and other extras

This commit is contained in:
elwrcl committed 2026-03-30 23:51:17 +03:00
commit 3615a7b307
56 files changed
+1804

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
{ config, pkgs, ... }:
{
programs.appimage = {
enable = true;
binfmt = true;
};
}
+16
View File
@@ -0,0 +1,16 @@
{ ... }:
{
imports = [
./appimage
./kde_connect
./printing
./ssh
./security
./psql
./flatpak
./fwupd
./samba
./performance
];
}
+5
View File
@@ -0,0 +1,5 @@
{ config, pkgs, ...}:
{
services.flatpak.enable = true;
}
+5
View File
@@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
services.fwupd.enable = true;
}
+5
View File
@@ -0,0 +1,5 @@
{ config, pkgs, ...}:
{
programs.kdeconnect.enable = true;
}
+15
View File
@@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
services.scx = {
enable = true;
scheduler = "scx_rustland"; #you can find other schedulers to fit your needs
};
services.ananicy = {
enable = true;
package = pkgs.ananicy-cpp;
};
services.irqbalance.enable = true;
}
+19
View File
@@ -0,0 +1,19 @@
{ config, pkgs, ... }:
{
services.printing = {
enable = true;
drivers = [ pkgs.cnijfilter2 ];
};
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
hardware.sane = {
enable = true;
extraBackends = [ pkgs.sane-airscan ];
};
}
+12
View File
@@ -0,0 +1,12 @@
{ config, pkgs, ... }:
{
services.postgresql = {
enable = true;
ensureDatabases = [ "mydatabase" ];
authentication = pkgs.lib.mkOverride 10 ''
#type database DBuser auth-method
local all all trust
'';
};
}
+57
View File
@@ -0,0 +1,57 @@
{ config, lib, pkgs, ... }:
{
systemd.tmpfiles.rules = [
"d /var/lib/samba/usershares 0755 elars users -"
];
environment.etc."samba/smbusers".text = ''
nobody = guest
'';
services.samba = {
enable = true;
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" = "0777";
"directory mask" = "0777";
"force user" = config.users.users.elars.name;
"force group" = "users";
};
};
};
services.samba-wsdd = {
enable = true;
openFirewall = true;
};
}
+15
View File
@@ -0,0 +1,15 @@
{ config, pkgs, ... }:
{
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
security.wrappers.gsr-kms-server = {
owner = "root";
group = "root";
capabilities = "cap_sys_admin+ep";
source = "${pkgs.gpu-screen-recorder}/bin/gsr-kms-server";
};
}
+5
View File
@@ -0,0 +1,5 @@
{ config, pkgs, ... }:
{
services.openssh.enable = true;
}