2024-05-07 17:09:01 +00:00
|
|
|
{ pkgs, config, ... }:
|
2022-12-16 12:43:56 +00:00
|
|
|
let
|
2024-05-07 17:09:01 +00:00
|
|
|
consoleFont = hiDPI: if hiDPI then "Lat2-Terminus16" else "Lat2-Terminus20";
|
2022-12-16 12:43:56 +00:00
|
|
|
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
|
|
|
|
../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-05-11 11:46:39 +00:00
|
|
|
../modules/borgbackup.nix
|
2023-01-04 14:18:39 +00:00
|
|
|
../modules/udisks2.nix
|
2023-02-22 22:48:11 +00:00
|
|
|
../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
|
2024-07-15 16:39:42 +00:00
|
|
|
../modules/lix.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;
|
|
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2022-12-16 12:43:56 +00:00
|
|
|
console.font = consoleFont config.my.highDPI;
|
|
|
|
|
2023-06-24 23:06:46 +00:00
|
|
|
# weekly trim
|
|
|
|
services.fstrim.enable = true;
|
|
|
|
|
2024-04-04 18:57:37 +00:00
|
|
|
# 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-07-15 16:39:42 +00:00
|
|
|
# Enable proprietary firmware
|
|
|
|
hardware.enableAllFirmware = true;
|
|
|
|
|
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
|
|
|
}
|