1
Fork 0
satellite/hosts/nixos/tethys/default.nix

59 lines
1.6 KiB
Nix
Raw Normal View History

{ lib, ... }: {
2023-01-10 02:38:06 +01:00
imports = [
../common/global
../common/users/adrielus.nix
../common/optional/pipewire.nix
2023-07-22 16:21:29 +02:00
../common/optional/greetd.nix
2023-07-30 01:22:25 +02:00
# ../common/optional/xmonad
# ../common/optional/lightdm.nix
../common/optional/steam.nix
2023-02-19 22:47:42 +01:00
../common/optional/slambda.nix
2023-04-27 01:08:20 +02:00
../common/optional/xdg-portal.nix
2023-05-24 03:17:09 +02:00
../common/optional/hyprland.nix
2023-08-06 17:28:34 +02:00
../common/optional/quietboot.nix
2023-01-10 02:38:06 +01:00
./hardware
2023-07-18 16:30:04 +02:00
./services/syncthing.nix
2023-01-10 02:38:06 +01:00
./boot.nix
];
2023-07-18 16:30:04 +02:00
# Machine ids
2023-01-10 02:38:06 +01:00
networking.hostName = "tethys";
2023-07-18 15:16:57 +02:00
environment.etc.machine-id.text = "08357db3540c4cd2b76d4bb7f825ec88";
2023-01-10 02:38:06 +01:00
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "22.11";
2023-05-28 00:41:22 +02:00
# {{{ A few ad-hoc hardware settings
2023-09-22 18:37:24 +02:00
hardware.enableAllFirmware = true;
2023-05-28 00:41:22 +02:00
hardware.opengl.enable = true;
2023-05-28 05:24:36 +02:00
hardware.opentabletdriver.enable = true;
2023-08-28 17:18:26 +02:00
hardware.keyboard.qmk.enable = true;
2023-09-22 18:37:24 +02:00
powerManagement.cpuFreqGovernor = "ondemand";
services.tlp.enable = true;
services.thermald.enable = true;
2023-05-28 00:41:22 +02:00
# }}}
# {{{ A few ad-hoc programs
programs.kdeconnect.enable = true;
programs.extra-container.enable = true;
# }}}
2023-05-28 05:24:36 +02:00
# {{{ Ad-hoc stylix targets
# TODO: include this on all gui hosts
2023-07-18 16:30:04 +02:00
# TODO: is this useful outside of home-manager?
2023-05-28 05:24:36 +02:00
stylix.targets.gtk.enable = true;
# }}}
2023-07-30 01:22:25 +02:00
# {{{ Some ad-hoc site blocking
networking.extraHosts =
let
2023-09-22 18:37:24 +02:00
blacklisted = [
"twitter.com"
"www.reddit.com"
# "minesweeper.online"
];
blacklist = lib.concatStringsSep "\n" (lib.forEach blacklisted (host: "127.0.0.1 ${host}"));
in
blacklist;
2023-07-30 01:22:25 +02:00
# }}}
2023-01-10 02:38:06 +01:00
}