chore: run formatter

This commit is contained in:
2025-09-27 22:27:55 +05:00
parent 23ddc84bfc
commit 307b866cc6
44 changed files with 230 additions and 228 deletions

View File

@@ -1,11 +1,9 @@
{ config, ... }:
{
{config, ...}: {
programs = {
_1password.enable = true;
_1password-gui = {
enable = true;
polkitPolicyOwners = [ config.hostSpec.username ];
polkitPolicyOwners = [config.hostSpec.username];
};
};
}

View File

@@ -1,5 +1,3 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ claude-code ];
{pkgs, ...}: {
environment.systemPackages = with pkgs; [claude-code];
}

View File

@@ -1,5 +1,3 @@
{ ... }:
{
{...}: {
programs.dconf.enable = true;
}

View File

@@ -1,4 +1,4 @@
{ pkgs, ... }: {
{pkgs, ...}: {
virtualisation = {
podman = {
enable = true;
@@ -11,7 +11,7 @@
};
};
containers = { registries = { search = [ "docker.io" ]; }; };
containers = {registries = {search = ["docker.io"];};};
libvirtd = {
enable = true;
@@ -20,7 +20,7 @@
ovmf = {
enable = true;
packages = with pkgs; [ OVMFFull.fd ];
packages = with pkgs; [OVMFFull.fd];
};
};
};

View File

@@ -1,5 +1,3 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ hoppscotch ];
{pkgs, ...}: {
environment.systemPackages = with pkgs; [hoppscotch];
}

View File

@@ -1,6 +1,8 @@
{ inputs, pkgs, ... }:
{
inputs,
pkgs,
...
}: {
programs.hyprland = {
enable = true;
package =

View File

@@ -1,5 +1,3 @@
{ ... }:
{
{...}: {
programs.nix-ld.enable = true;
}

View File

@@ -1,5 +1,3 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ sbctl ];
{pkgs, ...}: {
environment.systemPackages = with pkgs; [sbctl];
}

View File

@@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
services = {
# Enable sound with pipewire.
pulseaudio.enable = false;
@@ -15,5 +13,5 @@
security.rtkit.enable = true;
environment.systemPackages =
builtins.attrValues { inherit (pkgs) pavucontrol; };
builtins.attrValues {inherit (pkgs) pavucontrol;};
}

View File

@@ -1,6 +1,4 @@
{ ... }:
{
{...}: {
services.blueman.enable = true;
hardware = {
bluetooth.enable = true;

View File

@@ -1,5 +1,3 @@
{ ... }:
{
{...}: {
services.fwupd.enable = true;
}

View File

@@ -1,12 +1,9 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
services.greetd = {
enable = true;
settings = {
default_session = {
command =
"${pkgs.tuigreet}/bin/tuigreet --greeting 'Welcome to NixOS!' --asterisks --remember --remember-user-session --time --cmd ${pkgs.hyprland}/bin/Hyprland";
command = "${pkgs.tuigreet}/bin/tuigreet --greeting 'Welcome to NixOS!' --asterisks --remember --remember-user-session --time --cmd ${pkgs.hyprland}/bin/Hyprland";
user = "greeter";
};
};

View File

@@ -1,9 +1,9 @@
{ config, ... }:
let sshPort = config.hostSpec.networking.ports.tcp.ssh;
{config, ...}: let
sshPort = config.hostSpec.networking.ports.tcp.ssh;
in {
services.openssh = {
enable = true;
ports = [ sshPort ];
ports = [sshPort];
settings = {
PermitRootLogin = "no";
@@ -14,5 +14,5 @@ in {
openFirewall = true;
};
networking.firewall.allowedTCPPorts = [ sshPort ];
networking.firewall.allowedTCPPorts = [sshPort];
}

View File

@@ -1,6 +1,4 @@
# Reminder that CUPS cpanel defaults to localhost:631
{ ... }:
{
{...}: {
services.printing.enable = true;
}

View File

@@ -1,5 +1,3 @@
{ ... }:
{
{...}: {
services.pcscd.enable = true;
}

View File

@@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
# yubikey login / sudo
security.pam = {
u2f = {
@@ -13,5 +11,5 @@
};
};
environment.systemPackages = with pkgs; [ yubikey-manager ];
environment.systemPackages = with pkgs; [yubikey-manager];
}