mirror of
https://github.com/RGBCube/ncc
synced 2025-07-31 12:07:48 +00:00
Add auto-cpufreq and open port 8080
This commit is contained in:
parent
4a8d16dd7b
commit
7f9342b0b8
3 changed files with 11 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -6,6 +6,7 @@
|
||||||
!hosts/enka/
|
!hosts/enka/
|
||||||
|
|
||||||
!modules/
|
!modules/
|
||||||
|
!modules/autofreq/
|
||||||
!modules/bat/
|
!modules/bat/
|
||||||
!modules/blueman/
|
!modules/blueman/
|
||||||
!modules/boot/
|
!modules/boot/
|
||||||
|
|
|
@ -7,6 +7,10 @@
|
||||||
description = "NixOS";
|
description = "NixOS";
|
||||||
extraGroups = [ "wheel" ];
|
extraGroups = [ "wheel" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
networking.firewall = enabled {
|
||||||
|
allowedTCPPorts = [ 8080 ];
|
||||||
|
};
|
||||||
})
|
})
|
||||||
|
|
||||||
(homeConfiguration {
|
(homeConfiguration {
|
||||||
|
@ -16,6 +20,7 @@
|
||||||
(importModules [
|
(importModules [
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
|
|
||||||
|
"autofreq"
|
||||||
"bat"
|
"bat"
|
||||||
"blueman"
|
"blueman"
|
||||||
"boot"
|
"boot"
|
||||||
|
|
5
modules/autofreq/default.nix
Normal file
5
modules/autofreq/default.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ ulib, ... }: with ulib;
|
||||||
|
|
||||||
|
systemConfiguration {
|
||||||
|
services.auto-cpufreq = enabled {};
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue