nixos-config/roles/all.nix

64 lines
1.3 KiB
Nix
Raw Normal View History

{pkgs, config, ...}:
let
consoleFont = hiDPI : if hiDPI then "Lat2-Terminus16" else "Lat2-Terminus20";
in
{
imports = [
../home-manager/default.nix
2022-06-05 00:16:30 +00:00
2022-02-19 23:40:00 +00:00
../modules/avahi.nix
2022-06-05 00:16:30 +00:00
../modules/cups.nix
2022-03-07 13:28:42 +00:00
../modules/docker.nix
../modules/earlyoom.nix
../modules/fonts.nix
../modules/opengl.nix
2022-03-01 23:00:03 +00:00
../modules/pam.nix
../modules/sound.nix
../modules/ssh.nix
2022-03-21 16:47:04 +00:00
../modules/steam.nix
2022-05-16 13:31:21 +00:00
../modules/via.nix
2022-03-01 19:09:17 +00:00
../modules/virtualbox.nix
../modules/borgbackup.nix
../modules/udisks2.nix
2022-06-05 00:16:30 +00:00
2022-06-04 23:56:13 +00:00
../secrets/remote-builder.nix
../users/fleaz.nix
2022-09-13 08:38:10 +00:00
../customOptions.nix
];
# Set your time zone.
time.timeZone = "Europe/Berlin";
2022-10-25 13:29:08 +00:00
# Locale
i18n.defaultLocale = "en_DK.UTF-8";
2022-05-16 13:31:21 +00:00
# needed for Steam and VIA
nixpkgs.config.allowUnfree = true;
2022-04-19 19:44:30 +00:00
# GTK settings stuff for e.g. themes
programs.dconf.enable = true;
2022-06-05 00:16:30 +00:00
# List packages installed in system profile. To search, run:
environment.systemPackages = with pkgs; [ vim wget curl git ];
2022-06-21 13:34:34 +00:00
2022-09-09 14:21:17 +00:00
environment.variables = {
EDITOR = "nvim";
PATH = "$PATH:/home/fleaz/bin";
XDG_SCREENSHOTS_DIR = "/home/fleaz/screenshots/";
DEFAULT_BROWSER = "${pkgs.firefox}/bin/firefox";
};
console.font = consoleFont config.my.highDPI;
2023-01-03 10:33:22 +00:00
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
2022-06-21 13:34:34 +00:00
networking.extraHosts = ''
'';
2022-02-06 23:01:27 +00:00
}