mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-22 20:32:59 +09:00
style: nix format
This commit is contained in:
parent
7ceb157457
commit
26b1412b82
19 changed files with 108 additions and 92 deletions
|
|
@ -34,9 +34,7 @@
|
|||
casks = [
|
||||
"batfi"
|
||||
"hammerspoon"
|
||||
# TODO use nixpkgs when possible
|
||||
# "google-chrome"
|
||||
"shottr"
|
||||
"shottr" # stable version dmg link not found
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 ];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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="
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue