god only knows

This commit is contained in:
atagen 2022-12-02 11:51:00 +11:00
parent 2f2060aade
commit 37a11e11ff
23 changed files with 230 additions and 49 deletions

26
system/configuration.nix Normal file → Executable file
View file

@ -6,8 +6,10 @@
imports = [
# where are we ?
# ./wollomi.nix
#./wollomi.nix
# ./adrift.nix
./quiver.nix
./docker.nix
# home manager should exist for users
<home-manager/nixos>
@ -30,8 +32,6 @@
boot.loader.systemd-boot.configurationLimit = 2;
boot.loader.systemd-boot.consoleMode = "max";
boot.loader.timeout = 3;
#boot.loader.efi.canTouchEfiVariables = true;
#boot.plymouth.enable = true;
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
@ -88,25 +88,15 @@
services.tailscale.enable = true;
# rust
nixpkgs.overlays = [
(import "${fetchTarball "https://github.com/nix-community/fenix/archive/main.tar.gz"}/overlay.nix")
];
environment.systemPackages = with pkgs; [
rnix-lsp
rust-analyzer-nightly
(fenix.complete.withComponents [
"clippy"
"rustfmt"
])
tailscale
cachix
helix
rnix-lsp
ark
curl
@ -116,11 +106,15 @@
zsh
libsForQt5.sddm-kcm
];
networking.firewall = {
allowedUDPPorts = [ 41641 ];
# allowedUDPPorts = [ 41641 ];
trustedInterfaces = [ "tailscale0" ];
checkReversePath = "loose";
};