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 = outputs =
inputs@{ inputs@{
self,
authentik-nix, authentik-nix,
flake-utils,
lanzaboote, lanzaboote,
lix-module, lix-module,
microvm, microvm,
nixos-hardware, nixos-hardware,
nixpkgs, nixpkgs,
nixpkgs-unstable,
sops-nix, sops-nix,
... ...
}: }:

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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