style: nix format

This commit is contained in:
Poby 2026-03-14 01:25:38 +09:00
parent 7ceb157457
commit 26b1412b82
No known key found for this signature in database
19 changed files with 108 additions and 92 deletions

View file

@ -34,9 +34,7 @@
casks = [
"batfi"
"hammerspoon"
# TODO use nixpkgs when possible
# "google-chrome"
"shottr"
"shottr" # stable version dmg link not found
];
};
}

View file

@ -2,7 +2,8 @@
username,
hostname,
...
}: {
}:
{
networking = {
hostName = hostname;
computerName = hostname;
@ -14,5 +15,5 @@
description = username;
};
nix.settings.trusted-users = [username];
nix.settings.trusted-users = [ username ];
}

View file

@ -2,14 +2,18 @@
pkgs,
lib,
...
}: {
}:
{
nix = {
enable = true;
package = pkgs.nix;
settings = {
experimental-features = ["nix-command" "flakes"];
substituters = ["https://nix-community.cachix.org"];
experimental-features = [
"nix-command"
"flakes"
];
substituters = [ "https://nix-community.cachix.org" ];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];