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,7 +1,4 @@
{
config,
...
}:
{ config, ... }:
{
programs = {

View File

@@ -1,6 +1,4 @@
{
...
}:
{ ... }:
{
programs.dconf.enable = true;

View File

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

View File

@@ -1,7 +1,4 @@
{
pkgs,
...
}:
{ pkgs, ... }:
{
programs = {
@@ -15,8 +12,5 @@
gamemode.enable = true;
};
environment.systemPackages = with pkgs; [
mangohud
protonup-qt
];
environment.systemPackages = with pkgs; [ mangohud protonup-qt ];
}

View File

@@ -1,13 +1,10 @@
{
inputs,
pkgs,
...
}:
{ inputs, pkgs, ... }:
{
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
package =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage =
inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
};

View File

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

View File

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

View File

@@ -1,7 +1,4 @@
{
pkgs,
...
}:
{ pkgs, ... }:
{
services = {
@@ -17,7 +14,6 @@
};
security.rtkit.enable = true;
environment.systemPackages = builtins.attrValues {
inherit (pkgs) pavucontrol;
};
environment.systemPackages =
builtins.attrValues { inherit (pkgs) pavucontrol; };
}

View File

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

View File

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

View File

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

View File

@@ -1,11 +1,6 @@
{
config,
...
}:
let
sshPort = config.hostSpec.networking.ports.tcp.ssh;
in
{
{ config, ... }:
let sshPort = config.hostSpec.networking.ports.tcp.ssh;
in {
services.openssh = {
enable = true;
ports = [ sshPort ];

View File

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

View File

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

View File

@@ -1,7 +1,4 @@
{
pkgs,
...
}:
{ pkgs, ... }:
{
# yubikey login / sudo
@@ -16,7 +13,5 @@
};
};
environment.systemPackages = with pkgs; [
yubikey-manager
];
environment.systemPackages = with pkgs; [ yubikey-manager ];
}