fix: Flake | use nixfmt=classic to format nix files

This commit is contained in:
2025-02-17 19:24:25 +05:00
parent 234e52f051
commit 7eab398f6d
41 changed files with 189 additions and 370 deletions

View File

@@ -1,10 +1,4 @@
{
pkgs,
inputs,
config,
lib,
...
}:
{ pkgs, inputs, config, lib, ... }:
{
imports = lib.flatten [
@@ -20,9 +14,7 @@
hostSpec = {
username = "shahab";
handle = "shahab96";
email = {
user = "shahab@dogar.dev";
};
email = { user = "shahab@dogar.dev"; };
userFullName = "Shahab Dogar";
domain = "rihla";
networking.ports.tcp.ssh = 22;
@@ -60,12 +52,11 @@
warn-dirty = false;
trusted-users = [ "@wheel" ];
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
experimental-features = [
"nix-command"
"flakes"
substituters = [ "https://hyprland.cachix.org" ];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
experimental-features = [ "nix-command" "flakes" ];
};
};
@@ -79,9 +70,7 @@
};
# ========= Sops =========
environment.systemPackages = with pkgs; [
sops
];
environment.systemPackages = with pkgs; [ sops ];
#
# ========== Localization ==========