diff --git a/.gitignore b/.gitignore index feaf675..c3de0b4 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ !hosts/enka/ !modules/ +!modules/autofreq/ !modules/bat/ !modules/blueman/ !modules/boot/ diff --git a/hosts/enka/default.nix b/hosts/enka/default.nix index 675c26d..3c70751 100644 --- a/hosts/enka/default.nix +++ b/hosts/enka/default.nix @@ -7,6 +7,10 @@ description = "NixOS"; extraGroups = [ "wheel" ]; }; + + networking.firewall = enabled { + allowedTCPPorts = [ 8080 ]; + }; }) (homeConfiguration { @@ -16,6 +20,7 @@ (importModules [ ./hardware.nix + "autofreq" "bat" "blueman" "boot" diff --git a/modules/autofreq/default.nix b/modules/autofreq/default.nix new file mode 100644 index 0000000..91a3fdc --- /dev/null +++ b/modules/autofreq/default.nix @@ -0,0 +1,5 @@ +{ ulib, ... }: with ulib; + +systemConfiguration { + services.auto-cpufreq = enabled {}; +}