some plays, some updates

This commit is contained in:
2026-01-11 06:05:48 +03:00
parent b7f0075276
commit 2eb01e9603
19 changed files with 262 additions and 622 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
{
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [ kitty qbittorrent ];
environment.systemPackages = with pkgs; [ kitty qbittorrent ncdu ];
programs.ssh.startAgent = true;
services.gnome.gcr-ssh-agent.enable = lib.mkForce false;
+2
View File
@@ -15,5 +15,7 @@
services.fprintd.enable = true;
security.pam.services.sudo.fprintAuth = true;
security.pam.services.login.fprintAuth = lib.mkForce true;
security.pam.services.sddm.fprintAuth = true; # For login/lock (?)
security.polkit.enable = true;
}
+36
View File
@@ -0,0 +1,36 @@
{ config, pkgs, ... }: {
# Thunar (use the module)
programs.thunar.enable = true; # :contentReference[oaicite:1]{index=1}
# If you are NOT running full XFCE, you need xfconf or Thunar settings wont persist
programs.xfconf.enable = true; # :contentReference[oaicite:2]{index=2}
# Plugins (add them here, not in systemPackages)
programs.thunar.plugins = with pkgs.xfce; [
thunar-archive-plugin # right-click extract/compress
thunar-volman # removable media handling
]; # :contentReference[oaicite:3]{index=3}
# Mount/trash and thumbnails
services.gvfs.enable = true; # :contentReference[oaicite:4]{index=4}
services.tumbler.enable = true; # :contentReference[oaicite:5]{index=5}
# Removable drives typically rely on udisks2 + polkit
services.udisks2.enable = true; # :contentReference[oaicite:6]{index=6}
security.polkit.enable = true; # :contentReference[oaicite:7]{index=7}
# Usually already enabled, but harmless to be explicit on minimal installs
services.dbus.enable = true;
# Set default applications for Thunar (and others) via xdg-mime
environment.systemPackages = with pkgs; [
gdk-pixbuf # image thumbnailer :contentReference[oaicite:5]{index=5}
ffmpegthumbnailer # video thumbnails :contentReference[oaicite:6]{index=6}
ffmpeg-headless # decoding support often used alongside ffmpegthumbnailer :contentReference[oaicite:7]{index=7}
];
# Make .thumbnailer definitions visible under the system profile
environment.pathsToLink =
[ "share/thumbnailers" ]; # :contentReference[oaicite:8]{index=8}
}
+37
View File
@@ -0,0 +1,37 @@
{ config, pkgs, lib, ... }:
# KROSH mention
{
system.stateVersion = "25.11";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 14d";
};
services.printing.enable = true;
environment.sessionVariables.NIXOS_OZONE_WL = "1";
users.users.krosh = {
isNormalUser = true;
description = "krosh";
extraGroups =
[ "fprint" "networkmanager" "wheel" "libvirtd" "plugdev" "lp" ];
shell = pkgs.zsh;
};
services.upower.enable = true;
hardware.bluetooth.enable = true;
environment.systemPackages = with pkgs; [
(writeShellScriptBin "power_max" (builtins.readFile ../scripts/max.sh))
(writeShellScriptBin "power_min" (builtins.readFile ../scripts/min.sh))
(writeShellScriptBin "reload" (builtins.readFile ../scripts/reload.sh))
# papirus-icon-theme
nordzy-icon-theme
adwaita-icon-theme
# hicolor-icon-theme
];
}