1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Add auto-cpufreq and open port 8080

This commit is contained in:
RGBCube 2023-12-22 11:45:28 +03:00
parent 4a8d16dd7b
commit 7f9342b0b8
No known key found for this signature in database
3 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View file

@ -6,6 +6,7 @@
!hosts/enka/
!modules/
!modules/autofreq/
!modules/bat/
!modules/blueman/
!modules/boot/

View file

@ -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"

View file

@ -0,0 +1,5 @@
{ ulib, ... }: with ulib;
systemConfiguration {
services.auto-cpufreq = enabled {};
}