nixos-configs/modules/system.nix

53 lines
887 B
Nix
Raw Normal View History

2023-03-20 22:35:11 +01:00
{ config, lib, pkgs, nixpkgs, ... }:
2020-02-21 01:23:10 +01:00
{
2021-07-02 00:15:06 +02:00
2023-03-20 22:35:11 +01:00
environment.systemPackages = with pkgs.unstable; [
2020-02-21 01:23:10 +01:00
wget
inetutils
man
2020-03-02 04:59:42 +01:00
zip
2020-02-24 19:42:25 +01:00
unzip
2020-02-21 01:23:10 +01:00
2023-03-17 13:02:05 +01:00
ripgrep
fd
findutils.locate
2020-02-21 01:23:10 +01:00
htop
ncdu
2020-03-02 04:59:42 +01:00
nload
2020-02-21 01:23:10 +01:00
pciutils
2022-11-29 22:51:31 +01:00
lsof
dnsutils
2020-02-21 01:23:10 +01:00
];
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.pulseaudio.support32Bit = true;
2021-04-13 10:48:59 +02:00
programs.adb.enable = true;
2020-02-21 01:23:10 +01:00
users.users.froidmpa = {
isNormalUser = true;
2021-04-13 10:48:59 +02:00
extraGroups = [ "wheel" "adbusers" ];
2020-02-21 01:23:10 +01:00
shell = pkgs.zsh;
};
programs.ssh.startAgent = true;
2020-03-09 23:20:16 +01:00
2022-08-31 22:00:20 +02:00
services.udisks2.enable = true;
systemd.packages = [ pkgs.dconf ];
2020-03-09 23:20:16 +01:00
# Required for custom GTK themes
2022-01-27 07:41:14 +01:00
services.dbus.packages = with pkgs; [ dconf ];
2022-09-05 01:37:52 +02:00
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
2023-02-14 15:28:10 +01:00
services.flatpak.enable = true;
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
2020-02-24 19:42:25 +01:00
}