Something went wrong. Try again.
❄️ Dotfiles and NixOS configurations
Something went wrong. Try again.
1.3 kB · 64 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465{ lib, pkgs, ...}: let inherit (lib.modules) mkDefault;in { hm.catppuccin.flavour = "mocha"; users.mutableUsers = false;
services.openssh.enable = true; virtualisation.podman = { enable = mkDefault true; dockerSocket.enable = true; };
security.sudo = { extraConfig = '' Defaults lecture = always Defaults lecture_file = ${../../misc/lecture.txt} Defaults pwfeedback Defaults passwd_timeout=0 ''; };
environment.systemPackages = with pkgs; [just];
security.pki.certificates = [(builtins.readFile ../../misc/root_ca.crt)];
programs.adb.enable = true;
networking.firewall = { allowedTCPPorts = [ 22000 # syncthing 25565 # minecraft ]; allowedUDPPorts = [ 21027 # syncthing 22000 # syncthing 24727 # AusweisApp2 25565 # minecraft ]; };
services.udev.packages = with pkgs; [zoom65-udev-rules];
services.udisks2.enable = true;
security.sudo.extraRules = [ { groups = ["wheel"]; commands = [ { command = "/run/current-system/sw/bin/nixos-rebuild"; options = ["NOPASSWD"]; } { command = "/run/current-system/sw/bin/systemctl"; options = ["NOPASSWD"]; } ]; } ];}