2022-12-16 12:43:56 +00:00
|
|
|
{pkgs, config, ...}:
|
|
|
|
let
|
|
|
|
consoleFont = hiDPI : if hiDPI then "Lat2-Terminus16" else "Lat2-Terminus20";
|
|
|
|
in
|
|
|
|
{
|
2022-02-06 23:00:41 +00:00
|
|
|
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
|
2022-02-06 23:00:41 +00:00
|
|
|
../modules/earlyoom.nix
|
|
|
|
../modules/fonts.nix
|
|
|
|
../modules/opengl.nix
|
2022-03-01 23:00:03 +00:00
|
|
|
../modules/pam.nix
|
2022-02-06 23:00:41 +00:00
|
|
|
../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
|
2022-05-11 11:46:39 +00:00
|
|
|
../modules/borgbackup.nix
|
2023-01-04 14:18:39 +00:00
|
|
|
../modules/udisks2.nix
|
2022-06-05 00:16:30 +00:00
|
|
|
|
2022-06-04 23:56:13 +00:00
|
|
|
../secrets/remote-builder.nix
|
2022-02-06 23:00:41 +00:00
|
|
|
../users/fleaz.nix
|
2022-09-13 08:38:10 +00:00
|
|
|
../customOptions.nix
|
2022-02-06 23:00:41 +00:00
|
|
|
];
|
2022-02-23 20:41:46 +00:00
|
|
|
|
2022-06-05 00:12:55 +00:00
|
|
|
# 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";
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2022-12-16 12:43:56 +00:00
|
|
|
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
|
|
|
}
|
2022-02-06 23:00:41 +00:00
|
|
|
|