Skip to content

Commit 744eca7

Browse files
committed
feat: Update
1 parent e6bc1d3 commit 744eca7

File tree

21 files changed

+146
-133
lines changed

21 files changed

+146
-133
lines changed

LICENSE.md

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,23 @@
1-
Unlicense (Public Domain)
2-
============================
1+
# Unlicense (Public Domain)
32

43
This is free and unencumbered software released into the public domain.
54

6-
Anyone is free to copy, modify, publish, use, compile, sell, or
7-
distribute this software, either in source code form or as a compiled
8-
binary, for any purpose, commercial or non-commercial, and by any
9-
means.
5+
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
6+
software, either in source code form or as a compiled binary, for any purpose,
7+
commercial or non-commercial, and by any means.
108

11-
In jurisdictions that recognize copyright laws, the author or authors
12-
of this software dedicate any and all copyright interest in the
13-
software to the public domain. We make this dedication for the benefit
14-
of the public at large and to the detriment of our heirs and
15-
successors. We intend this dedication to be an overt act of
16-
relinquishment in perpetuity of all present and future rights to this
17-
software under copyright law.
9+
In jurisdictions that recognize copyright laws, the author or authors of this
10+
software dedicate any and all copyright interest in the software to the public
11+
domain. We make this dedication for the benefit of the public at large and to
12+
the detriment of our heirs and successors. We intend this dedication to be an
13+
overt act of relinquishment in perpetuity of all present and future rights to
14+
this software under copyright law.
1815

19-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20-
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21-
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22-
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
23-
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24-
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25-
OTHER DEALINGS IN THE SOFTWARE.
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
18+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE
19+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
20+
CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
21+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2622

2723
For more information, please refer to &lt;<http://unlicense.org/>&gt;

config/sway/config

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork
6060
# NetworkManager is the most popular way to manage wireless networks on Linux,
6161
# and nm-applet is a desktop environment-independent system tray GUI for it.
6262
exec --no-startup-id nm-applet
63-
exec waybar
64-
65-
# exec dms run
63+
# exec waybar
64+
exec dms run
6665

6766
# Use pactl to adjust volume in PulseAudio.
6867
set $refresh_i3status killall -SIGUSR1 i3status

configuration.nix

Lines changed: 26 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,22 @@ let
1919
hyprland-0-35-0 = old-pkgs.hyprland;
2020
in
2121
{
22-
imports =
23-
[
24-
# Include the results of the hardware scan.
25-
./hardware-configuration.nix
26-
# ./disko.nix
27-
]
22+
imports = [
23+
# Include the results of the hardware scan.
24+
./hardware-configuration.nix
25+
# ./disko.nix
26+
]
2827

29-
++ (with inputs.nixos-hardware.nixosModules; [
30-
common-pc-ssd
31-
]);
28+
++ (with inputs.nixos-hardware.nixosModules; [
29+
common-pc-ssd
30+
]);
3231

3332
fonts = {
3433
packages = with pkgs; [
3534
udev-gothic-nf
3635
noto-fonts-cjk-serif
3736
noto-fonts-cjk-sans
38-
noto-fonts-emoji
37+
noto-fonts-color-emoji
3938
twemoji-color-font
4039
# nerd-fonts
4140
];
@@ -73,7 +72,7 @@ in
7372
];
7473
substituters = [
7574
"https://cache.iog.io"
76-
];
75+
];
7776
trusted-public-keys = [
7877
"hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ="
7978
];
@@ -88,6 +87,7 @@ in
8887
# Bootloader.
8988
boot.loader.systemd-boot.enable = true;
9089
boot.loader.efi.canTouchEfiVariables = true;
90+
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
9191
# NOTE: 2/9 ビルドに失敗した
9292
# boot.kernelPackages = pkgs.linuxPackages_cachyos;
9393

@@ -191,7 +191,7 @@ in
191191
desktopManager = {
192192
xterm.enable = false;
193193
};
194-
194+
195195
windowManager.i3 = {
196196
enable = true;
197197
extraPackages = with pkgs; [
@@ -200,7 +200,7 @@ in
200200
i3status
201201
i3lock
202202
xauth
203-
];
203+
];
204204
};
205205
};
206206

@@ -281,7 +281,7 @@ in
281281
};
282282

283283
# Install irefox.
284-
programs.firefox = {
284+
programs.firefox = {
285285
enable = true;
286286
# profiles = {
287287
# myprofile = {
@@ -331,17 +331,19 @@ in
331331
# xdg-desktop-portal-gnome
332332
xdg-desktop-portal-hyprland
333333
];
334-
config = {
335-
hyprland.default = [ "hyprland" "gtk" ];
336-
sway.default = pkgs.lib.mkForce [
337-
"wlr"
338-
"gtk"
339-
];
340-
common.default = "*";
341-
};
334+
config = {
335+
hyprland.default = [
336+
"hyprland"
337+
"gtk"
338+
];
339+
sway.default = pkgs.lib.mkForce [
340+
"wlr"
341+
"gtk"
342+
];
343+
common.default = "*";
344+
};
342345
};
343346

344-
345347
# List packages installed in system profile. To search, run:
346348
# $ nix search wget
347349
environment.systemPackages = with pkgs; [
@@ -394,9 +396,8 @@ in
394396
# Enable the OpenSSH daemon.
395397
# services.openssh.enable = true;
396398

397-
398399
# Android Debug Bridge
399-
programs.adb.enable = true;
400+
# programs.adb.enable = true;
400401

401402
programs.waybar.enable = true;
402403

emacs.nix

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -473,10 +473,9 @@ in
473473
haskell-mode
474474

475475
dirvish
476-
claudemacs
476+
claudemacs
477477
sparql-mode
478478

479-
480479
exec-path-from-shell
481480
zenn-cli
482481

@@ -511,6 +510,6 @@ in
511510

512511
#highlight
513512
polymode
514-
poly-markdown
513+
poly-markdown
515514
];
516515
}

home-manager/wsl/default.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,6 @@ rec {
507507
# NOTE: 2024/12/31 アプデしたらビルドできなくなった
508508
# shotcut
509509

510-
siege
511-
512510
slurp
513511
sof-firmware
514512
spectre-meltdown-checker
@@ -580,7 +578,7 @@ rec {
580578

581579
# For Emacs markdown-mode
582580
multimarkdown
583-
wakatime
581+
wakatime-cli
584582

585583
hyperfine
586584

home.nix

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
...
77
}:
88
let
9-
system = "x86_64-linux"; nurpkgs = inputs.nur-packages.legacyPackages.${system};
9+
system = "x86_64-linux";
10+
nurpkgs = inputs.nur-packages.legacyPackages.${system};
1011

1112
generated = import ./_sources/generated.nix;
1213
sources = generated {
@@ -125,9 +126,9 @@ rec {
125126
path = "${home.homeDirectory}/.secrets/spotify-password";
126127
};
127128
"claude-code" = {
128-
sopsFile = ./secrets/claude-code.env;
129+
sopsFile = ./secrets/claude-code.env;
129130
path = "${home.homeDirectory}/.secrets/claude-code.env";
130-
format = "dotenv";
131+
format = "dotenv";
131132
};
132133
};
133134
};
@@ -206,7 +207,8 @@ rec {
206207
name = "ts-all";
207208
paths = [
208209
ts
209-
] ++ ts.withAllGrammars.dependencies;
210+
]
211+
++ ts.withAllGrammars.dependencies;
210212
};
211213
};
212214
# scripts
@@ -384,7 +386,7 @@ rec {
384386
".tmux.conf".source = (symlink /${dotfiles}/tmux.conf);
385387

386388
".secrets/.keep" = {
387-
text = "";
389+
text = "";
388390
};
389391

390392
".emacs.d" = {
@@ -474,25 +476,24 @@ rec {
474476
};
475477

476478
# systemd.user.services.claude-code-provider-proxy = {
477-
# Unit = {
478-
# Description = "Claude Code Provider Proxy";
479-
# After = [ "network.target" ];
480-
# };
481-
482-
# Service = {
483-
# Type = "simple";
484-
# WorkingDirectory = "/home/coma/.ghq/github.com/ujisati/claude-code-provider-proxy";
485-
# ExecStart = "${pkgs.python3Packages.uv}/bin/uv run src/main.py";
486-
# Restart = "on-failure";
487-
# RestartSec = 10;
488-
# EnvironmentFile ="${home.homeDirectory}/.secrets/claude-code.env";
489-
# };
490-
491-
# Install = {
492-
# WantedBy = [ "default.target" ];
493-
# };
479+
# Unit = {
480+
# Description = "Claude Code Provider Proxy";
481+
# After = [ "network.target" ];
494482
# };
495483

484+
# Service = {
485+
# Type = "simple";
486+
# WorkingDirectory = "/home/coma/.ghq/github.com/ujisati/claude-code-provider-proxy";
487+
# ExecStart = "${pkgs.python3Packages.uv}/bin/uv run src/main.py";
488+
# Restart = "on-failure";
489+
# RestartSec = 10;
490+
# EnvironmentFile ="${home.homeDirectory}/.secrets/claude-code.env";
491+
# };
492+
493+
# Install = {
494+
# WantedBy = [ "default.target" ];
495+
# };
496+
# };
496497

497498
programs = {
498499
direnv = {

hosts/wsl/default.nix

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,15 @@ let
1313
}) { };
1414
in
1515
{
16-
imports =
17-
[
18-
# Include the results of the hardware scan.
19-
# ./hardware-configuration.nix
20-
# ./disko.nix
21-
]
22-
23-
++ (with inputs.nixos-hardware.nixosModules; [
24-
common-pc-ssd
25-
]);
16+
imports = [
17+
# Include the results of the hardware scan.
18+
# ./hardware-configuration.nix
19+
# ./disko.nix
20+
]
21+
22+
++ (with inputs.nixos-hardware.nixosModules; [
23+
common-pc-ssd
24+
]);
2625

2726
fonts = {
2827
packages = with pkgs; [

packages/development.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{ pkgs }:
2-
with pkgs; [
2+
with pkgs;
3+
[
34
# Development tools
45
gleam.bin.latest
56
deno."2.5.4"

packages/editors.nix

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
{ pkgs, emacs', nurpkgs }:
2-
with pkgs; [
1+
{
2+
pkgs,
3+
emacs',
4+
nurpkgs,
5+
}:
6+
with pkgs;
7+
[
38
# Editors
49
vim-full
510
emacs'

packages/fonts.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{ pkgs }:
2-
with pkgs; [
2+
with pkgs;
3+
[
34
# Fonts
45
noto-fonts
56
noto-fonts-cjk-sans

0 commit comments

Comments
 (0)