Files
nix/os/system/packages.nix
2025-01-26 10:19:48 +01:00

66 lines
1.2 KiB
Nix

{ config, pkgs, ... }:
let
unstable = import
(builtins.fetchTarball https://github.com/nixos/nixpkgs/tarball/nixpkgs-unstable)
# reuse the current configuration
{ config = config.nixpkgs.config; };
in {
nixpkgs.config = {
allowUnfree = true;
permittedInsecurePackages = [
"electron-24.8.6"
];
};
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
services.printing.enable = true;
services.blueman.enable = true;
programs.mtr.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
environment.systemPackages = with pkgs; [
fd
fzf
ripgrep
jq
git
gnumake
pinentry
direnv
dnsutils
netcat
vim
gcc
unzip
wget
firefox
thunderbird
remmina
docker-buildx
appimage-run
gimp
unstable.libation
unstable.ledger-live-desktop
unstable.android-tools
unstable.android-udev-rules
];
services.logind.extraConfig = ''
RuntimeDirectorySize=20G
'';
systemd.sleep.extraConfig = ''
AllowSuspend=yes
AllowHibernation=yes
AllowHybridSleep=yes
AllowSuspendThenHibernate=yes
'';
}