49 lines
1.2 KiB
Nix
49 lines
1.2 KiB
Nix
{ 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;
|
|
|
|
programs.dconf.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
|
|
kora-icon-theme
|
|
nordzy-icon-theme
|
|
adwaita-icon-theme
|
|
hicolor-icon-theme
|
|
lomiri.suru-icon-theme
|
|
];
|
|
|
|
programs.nix-ld.enable = true;
|
|
programs.nix-ld.libraries = with pkgs;
|
|
[
|
|
# Add any missing dynamic libraries for unpackaged programs
|
|
# here, NOT in environment.systemPackages
|
|
];
|
|
}
|