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

@ -49,8 +49,7 @@
};
};
outputs =
inputs@{
outputs = inputs @ {
self,
nixpkgs,
darwin,
@ -61,18 +60,18 @@
homebrew-core,
homebrew-cask,
...
}:
let
}: let
system = "aarch64-darwin";
username = "poby";
useremail = "smg981024@gmail.com";
hostname = "fenrir"; # TODO break down to multiple hosts
specialArgs = inputs // {
specialArgs =
inputs
// {
inherit username useremail hostname;
};
in
{
in {
darwinConfigurations."${hostname}" = darwin.lib.darwinSystem {
inherit system specialArgs;
modules = [

View file

@ -2,8 +2,7 @@
pkgs,
username,
...
}:
{
}: {
imports = [
./fd.nix
./fzf.nix

View file

@ -6,6 +6,7 @@
tools = {
node = "lts";
uv = "latest";
python = "3.13";
};
settings = {
experimental = true;

View file

@ -1,5 +1,4 @@
{ lib, ... }:
[
{lib, ...}: [
# autocmds
{
enable = true;

View file

@ -2,8 +2,7 @@
lib,
pkgs,
...
}:
let
}: let
options = import ./core/options.nix;
autocmds = import ./core/autocmds.nix {inherit lib;};
augroups = import ./core/augroups.nix;
@ -18,8 +17,7 @@ let
treesitter = import ./lsp/treesitter.nix {inherit pkgs;};
autocomplete = import ./lsp/autocomplete.nix;
languages = import ./lsp/languages;
in
{
in {
programs.nvf = {
enable = true;

View file

@ -6,8 +6,7 @@ let
markdown = import ./markdown.nix;
html = import ./html.nix;
yaml = import ./yaml.nix;
in
{
in {
inherit
nix
python

View file

@ -1,5 +1,4 @@
{ pkgs, ... }:
{
{pkgs, ...}: {
# treesitter
enable = true;
addDefaultGrammars = true;

View file

@ -1,5 +1,4 @@
{ config, ... }:
{
{config, ...}: {
sops = {
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";

View file

@ -1,5 +1,4 @@
{ config, ... }:
{
{config, ...}: {
programs.ssh = {
enable = true;
enableDefaultConfig = false;

View file

@ -1,5 +1,4 @@
{ lib, ... }:
{
{lib, ...}: {
programs.starship = {
enable = true;
enableZshIntegration = true;

View file

@ -1,5 +1,4 @@
{ config, ... }:
{
{config, ...}: {
programs.zsh = {
enable = true;
@ -21,7 +20,7 @@
shellAliases = {
poby = "echo my name is poby";
nixconfig = "cd ~/nix-darwin && vim flake.nix";
just-darwin = "cd ~/nix-darwin && just darwin";
just-darwin = "cd ~/nix-darwin && just darwin $(hostname)";
};
sessionVariables = {

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;

View file

@ -2,8 +2,7 @@
pkgs,
lib,
...
}:
{
}: {
nix = {
enable = true;
package = pkgs.nix;

View file

@ -4,8 +4,7 @@
username,
hostname,
...
}:
{
}: {
time.timeZone = "Asia/Seoul";
system = {
@ -19,8 +18,7 @@
sudo -u ${username} /System/Library/PrivateFrameworks/SystemAdministration.framework/Resources/activateSettings -u
'';
activationScripts.applications.text =
let
activationScripts.applications.text = let
env = pkgs.buildEnv {
name = "system-applications";
paths = config.environment.systemPackages;