This commit is contained in:
Grisha Shipunov 2025-01-26 14:16:47 +01:00
parent c9ddbcbc87
commit 09b5328d1c
23 changed files with 19 additions and 31 deletions

5
.treefmt.toml Normal file
View file

@ -0,0 +1,5 @@
excludes = [ "*.toml", "*.yaml", "*.gitignore", "*.lock", "*mbsyncrc" ]
[formatter.nixfmt-rfc-style]
command = "nixfmt"
includes = "*.nix"

View file

@ -43,15 +43,12 @@
outputs =
inputs@{
self,
authentik-nix,
flake-utils,
lanzaboote,
lix-module,
microvm,
nixos-hardware,
nixpkgs,
nixpkgs-unstable,
sops-nix,
...
}:

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ ... }:
{
imports = [
./auth.nix

View file

@ -3,9 +3,6 @@
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
{
config,
lib,
pkgs,
...
}:

View file

@ -4,7 +4,6 @@
{
config,
lib,
pkgs,
modulesPath,
...
}:

View file

@ -1,7 +1,5 @@
{
pkgs,
lib,
config,
...
}:
{

View file

@ -1,4 +1,4 @@
{ config, ... }:
{ ... }:
{
services.radicale = {
enable = true;

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ ... }:
{
boot.initrd.kernelModules = [ "amdgpu" ];

View file

@ -1,4 +1,4 @@
{ pkgs, config, ... }:
{ config, ... }:
{
imports = [
./amd.nix

View file

@ -4,7 +4,6 @@
{
config,
lib,
pkgs,
modulesPath,
...
}:

View file

@ -1,4 +1,4 @@
{ config, lib, ... }:
{ config, ... }:
{
systemd.network =
let

View file

@ -1,7 +1,5 @@
{
pkgs,
lib,
config,
...
}:
{

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, ... }:
{
programs.nix-ld = {
enable = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [

View file

@ -1,4 +1,4 @@
{ pkgs, inputs, ... }:
{ pkgs, ... }:
{
environment.systemPackages =

View file

@ -1,4 +1,4 @@
{ pkgs, lib, ... }:
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ nfs-utils ];

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [

View file

@ -1,4 +1,4 @@
{ lib, pkgs, ... }:
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
gnuplot

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ ... }:
{
powerManagement.cpuFreqGovernor = null;

View file

@ -1,7 +1,5 @@
{
config,
pkgs,
inputs,
...
}:
{

View file

@ -70,7 +70,7 @@
netdev-client = builtins.listToAttrs netdev-client-list;
maskip = (
net: hostattrs:
_net: hostattrs:
if hostattrs.endpoint.enable then
hostattrs.address
else

View file

@ -1,3 +0,0 @@
[formatter.nixfmt-rfc-style]
command = "nixfmt"
includes = "*.nix"