67 lines
1.6 KiB
Nix
67 lines
1.6 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
# ! KROSH mention
|
|
|
|
{
|
|
services.tailscale = {
|
|
enable = true;
|
|
# Enable tailscale at startup
|
|
|
|
# If you would like to use a preauthorized key
|
|
#authKeyFile = "/run/secrets/tailscale_key";
|
|
|
|
};
|
|
networking.firewall = {
|
|
trustedInterfaces = [ "tailscale0" ];
|
|
allowedUDPPorts = [ config.services.tailscale.port ];
|
|
};
|
|
|
|
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))
|
|
# kora-icon-theme
|
|
nordzy-icon-theme
|
|
# adwaita-icon-theme
|
|
hicolor-icon-theme
|
|
# lomiri.suru-icon-theme
|
|
|
|
stdenv.cc.cc.lib
|
|
|
|
python312Packages.ipykernel
|
|
python312Packages.jupyterlab
|
|
python312Packages.numpy
|
|
python312Packages.pycodestyle
|
|
|
|
fuse
|
|
fuse3
|
|
];
|
|
|
|
programs.nix-ld.enable = true;
|
|
programs.nix-ld.libraries = with pkgs; [ ];
|
|
}
|