1
Fork 0

Navigate mini.files with enter!

This commit is contained in:
Matei Adriel 2023-09-22 19:37:24 +03:00
parent c21bf836a8
commit c8d7224dc9
No known key found for this signature in database
7 changed files with 48 additions and 13 deletions
hosts/nixos/tethys

View file

@ -26,9 +26,13 @@
system.stateVersion = "22.11";
# {{{ A few ad-hoc hardware settings
hardware.enableAllFirmware = true;
hardware.opengl.enable = true;
hardware.opentabletdriver.enable = true;
hardware.keyboard.qmk.enable = true;
powerManagement.cpuFreqGovernor = "ondemand";
services.tlp.enable = true;
services.thermald.enable = true;
# }}}
# {{{ A few ad-hoc programs
programs.kdeconnect.enable = true;
@ -42,7 +46,11 @@
# {{{ Some ad-hoc site blocking
networking.extraHosts =
let
blacklisted = [ "twitter.com" "minesweeper.online" ];
blacklisted = [
"twitter.com"
"www.reddit.com"
# "minesweeper.online"
];
blacklist = lib.concatStringsSep "\n" (lib.forEach blacklisted (host: "127.0.0.1 ${host}"));
in
blacklist;

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "sd_mod" "sdhci_pci" ];
@ -14,18 +15,19 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/57846041-f177-45eb-aff3-503006bac638";
{
device = "/dev/disk/by-uuid/57846041-f177-45eb-aff3-503006bac638";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/01E6-A013";
{
device = "/dev/disk/by-uuid/01E6-A013";
fsType = "vfat";
};
swapDevices =
[ { device = "/dev/disk/by-uuid/5cf4167c-77f4-4afe-b978-65ed5472e3d0"; }
];
[{ device = "/dev/disk/by-uuid/5cf4167c-77f4-4afe-b978-65ed5472e3d0"; }];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's