nixos-config/roles/all.nix

71 lines
1.6 KiB
Nix
Raw Normal View History

2024-05-07 17:09:01 +00:00
{ pkgs, config, ... }:
let
2024-05-07 17:09:01 +00:00
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
../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
../modules/samba.nix
2023-06-24 23:08:10 +00:00
../modules/gc.nix
2023-10-13 16:45:12 +00:00
../modules/sway.nix
2023-11-21 22:38:49 +00:00
../modules/nixld.nix
2024-05-07 17:09:01 +00:00
../modules/fwupd.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;
2023-11-21 22:38:49 +00:00
# List packages installed in system profile
2022-06-05 00:16:30 +00:00
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;
# weekly trim
services.fstrim.enable = true;
# Look mum, I'm using all the new shiny stuff!
nix.settings.experimental-features = [ "nix-command" "flakes" ];
2023-06-24 23:08:10 +00:00
2024-05-07 17:09:01 +00:00
# TMP
networking.firewall = {
allowedTCPPorts = [ 3000 ];
};
2022-06-21 13:34:34 +00:00
networking.extraHosts = ''
'';
2022-02-06 23:01:27 +00:00
}