chore: nix fmt
This commit is contained in:
parent
38767905af
commit
f74928ce5f
21 changed files with 60 additions and 71 deletions
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
nix.distributedBuilds = true;
|
||||
|
||||
nix.buildMachines = [
|
||||
|
|
|
|||
|
|
@ -26,7 +26,10 @@
|
|||
"sd_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" "ryzen_smu" ];
|
||||
boot.kernelModules = [
|
||||
"kvm-amd"
|
||||
"ryzen_smu"
|
||||
];
|
||||
boot.extraModulePackages = [ config.boot.kernelPackages.ryzen-smu ];
|
||||
|
||||
boot.kernelParams = [
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.pipewire.wireplumber.extraConfig."51-audio-priorities" = {
|
||||
"monitor.alsa.rules" = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
metacfg.services.xremap = {
|
||||
enable = true;
|
||||
deviceNames = [
|
||||
|
|
|
|||
|
|
@ -8,10 +8,12 @@
|
|||
services.postgresql = {
|
||||
enable = true;
|
||||
ensureDatabases = [ "atticd" ];
|
||||
ensureUsers = [{
|
||||
name = "atticd";
|
||||
ensureDBOwnership = true;
|
||||
}];
|
||||
ensureUsers = [
|
||||
{
|
||||
name = "atticd";
|
||||
ensureDBOwnership = true;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ attic-client ];
|
||||
|
|
|
|||
|
|
@ -42,9 +42,12 @@
|
|||
matchConfig.Name = "enp1s0";
|
||||
networkConfig.DHCP = "ipv4";
|
||||
address = [ "2a01:4f9:c014:619::1/64" ];
|
||||
routes = [{ Gateway = "fe80::1"; }];
|
||||
routes = [ { Gateway = "fe80::1"; } ];
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
networking.firewall.allowPing = true;
|
||||
|
||||
security.acme = {
|
||||
|
|
|
|||
|
|
@ -26,13 +26,12 @@ with lib.metacfg;
|
|||
hardware.graphics = {
|
||||
enable = true;
|
||||
|
||||
extraPackages =
|
||||
lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||
with pkgs;
|
||||
[
|
||||
rocmPackages.clr.icd
|
||||
]
|
||||
);
|
||||
extraPackages = lib.optionals pkgs.stdenv.targetPlatform.isx86_64 (
|
||||
with pkgs;
|
||||
[
|
||||
rocmPackages.clr.icd
|
||||
]
|
||||
);
|
||||
};
|
||||
|
||||
systemd.tmpfiles.rules =
|
||||
|
|
@ -123,13 +122,11 @@ with lib.metacfg;
|
|||
python313Packages.huggingface-hub
|
||||
];
|
||||
|
||||
|
||||
virtualisation = {
|
||||
docker.enable = true;
|
||||
podman.dockerCompat = false;
|
||||
};
|
||||
|
||||
|
||||
# zram swap with zstd compression for better performance
|
||||
zramSwap = {
|
||||
algorithm = "zstd";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.pipewire.wireplumber.extraConfig."51-audio-priorities" = {
|
||||
"monitor.alsa.rules" = [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
metacfg.services.xremap = {
|
||||
enable = true;
|
||||
deviceNames = [
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.nginx.virtualHosts = {
|
||||
"00000" = {
|
||||
useACMEHost = "hoyer.xyz";
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
systemd.services.netatalk.requires = [
|
||||
"mnt-backup.mount"
|
||||
"mnt-raid.mount"
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.open-webui = {
|
||||
enable = true;
|
||||
port = 8080;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.uptime-kuma = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
services.wyoming = {
|
||||
faster-whisper.servers."main" = {
|
||||
enable = true;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
_:
|
||||
{
|
||||
_: {
|
||||
metacfg.services.xremap = {
|
||||
enable = true;
|
||||
deviceNames = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue