chore: run formatter
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
{config, ...}: {
|
||||
programs = {
|
||||
_1password.enable = true;
|
||||
_1password-gui = {
|
||||
enable = true;
|
||||
polkitPolicyOwners = [ config.hostSpec.username ];
|
||||
polkitPolicyOwners = [config.hostSpec.username];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ claude-code ];
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [claude-code];
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
{...}: {
|
||||
programs.dconf.enable = true;
|
||||
}
|
||||
|
||||
@@ -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];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ hoppscotch ];
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [hoppscotch];
|
||||
}
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{ inputs, pkgs, ... }:
|
||||
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.hyprland = {
|
||||
enable = true;
|
||||
package =
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
{...}: {
|
||||
programs.nix-ld.enable = true;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [ sbctl ];
|
||||
{pkgs, ...}: {
|
||||
environment.systemPackages = with pkgs; [sbctl];
|
||||
}
|
||||
|
||||
@@ -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;};
|
||||
}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
{...}: {
|
||||
services.blueman.enable = true;
|
||||
hardware = {
|
||||
bluetooth.enable = true;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
{...}: {
|
||||
services.fwupd.enable = true;
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
# Reminder that CUPS cpanel defaults to localhost:631
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
{...}: {
|
||||
services.printing.enable = true;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
{...}: {
|
||||
services.pcscd.enable = true;
|
||||
}
|
||||
|
||||
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user