some plays, some updates
This commit is contained in:
+2
-28
@@ -1,7 +1,5 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
# KROSH mention
|
||||
|
||||
{
|
||||
imports = [
|
||||
./modules/amnezia.nix
|
||||
@@ -15,32 +13,8 @@
|
||||
./modules/security.nix
|
||||
./modules/timelang.nix
|
||||
./modules/wm.nix
|
||||
];
|
||||
|
||||
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" ];
|
||||
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))
|
||||
./modules/unsorted.nix
|
||||
./modules/thunar.nix
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 won’t 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}
|
||||
|
||||
}
|
||||
@@ -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
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
# mouse reload
|
||||
sudo modprobe psmouse
|
||||
|
||||
#hyprland reload
|
||||
hyprctl reload
|
||||
|
||||
#hyprbar reload
|
||||
hyprpanel -q; hyprpanel & disown
|
||||
|
||||
#fingerprint reload
|
||||
# systemctl --user restart fprintd # user service
|
||||
sudo systemctl restart fprintd
|
||||
|
||||
Reference in New Issue
Block a user