feat: add python 3.13 as mise global

format with alejandra
This commit is contained in:
Poby 2026-03-15 01:05:00 +09:00
parent 4cf65ab631
commit fed3a5226a
No known key found for this signature in database
27 changed files with 101 additions and 116 deletions

View file

@ -5,8 +5,7 @@
homebrew-core,
homebrew-cask,
...
}:
{
}: {
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [

View file

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

View file

@ -2,8 +2,7 @@
pkgs,
lib,
...
}:
{
}: {
nix = {
enable = true;
package = pkgs.nix;
@ -13,7 +12,7 @@
"nix-command"
"flakes"
];
substituters = [ "https://nix-community.cachix.org" ];
substituters = ["https://nix-community.cachix.org"];
trusted-public-keys = [
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];

View file

@ -4,8 +4,7 @@
username,
hostname,
...
}:
{
}: {
time.timeZone = "Asia/Seoul";
system = {
@ -19,14 +18,13 @@
sudo -u ${username} /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u
'';
activationScripts.applications.text =
let
env = pkgs.buildEnv {
name = "system-applications";
paths = config.environment.systemPackages;
pathsToLink = [ "/Applications" ];
};
in
activationScripts.applications.text = let
env = pkgs.buildEnv {
name = "system-applications";
paths = config.environment.systemPackages;
pathsToLink = ["/Applications"];
};
in
pkgs.lib.mkForce ''
# Set up applications.
echo "setting up /Applications..." >&2