nixos-config/system/configuration.nix

66 lines
1.7 KiB
Nix
Raw Normal View History

2022-06-05 01:43:16 -03:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{
config,
pkgs,
inputs,
...
}:
{
2023-05-18 12:36:29 -03:00
imports = [
./gamemode.nix
./cachix.nix
./media-packages.nix
./boot.nix
./thunar.nix
2023-05-18 12:36:43 -03:00
./nix.nix
./fonts.nix
./sound.nix
./bluetooth.nix
./locale.nix
./users.nix
./containers.nix
./network.nix
./keyboard.nix
2024-06-05 01:18:48 -03:00
../settings
2023-05-18 12:36:29 -03:00
];
2022-10-24 19:52:24 -03:00
2024-06-05 01:18:48 -03:00
my = import ../user/variables.nix;
2022-12-16 17:53:15 -03:00
zramSwap.enable = true;
2022-08-20 15:22:48 -03:00
programs.adb.enable = true;
2022-08-30 22:01:06 -03:00
services.udev.packages = [ pkgs.android-udev-rules ];
2022-08-20 15:22:48 -03:00
2022-06-05 01:43:16 -03:00
# Enable touchpad support (enabled default in most desktopManager).
2024-05-10 19:48:35 -03:00
services.libinput.enable = true;
2022-10-18 21:45:20 -03:00
2023-05-18 12:36:43 -03:00
packages.media-packages.enable = true;
2022-06-05 01:43:16 -03:00
environment.systemPackages = with pkgs; [
2022-06-13 09:45:20 -03:00
pavucontrol
2022-10-18 21:45:20 -03:00
2022-06-12 23:47:05 -03:00
glib # gsettings
2022-09-26 22:12:56 -03:00
usbutils
2022-08-01 20:15:26 -03:00
# dracula-theme # gtk theme
2022-07-21 00:32:09 -03:00
gnome3.adwaita-icon-theme # default gnome cursors
2022-06-05 01:43:16 -03:00
];
2022-10-18 21:45:20 -03:00
2022-07-21 01:04:22 -03:00
services.geoclue2.enable = true;
2022-11-17 15:12:27 -03:00
2024-02-22 21:09:23 -03:00
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
'';
2023-11-11 13:20:39 -03:00
services.logind.extraConfig = ''
HandlePowerKey=suspend
'';
2022-06-05 01:43:16 -03:00
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
2022-10-18 21:04:39 -03:00
# on your system were taken. Its perfectly fine and recommended to leave
2022-06-05 01:43:16 -03:00
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "22.05"; # Did you read the comment?
2022-07-21 00:32:09 -03:00
}