Compare commits

..

25 Commits

Author SHA1 Message Date
fda312ccc3 add stm324 2026-01-16 18:35:34 +09:00
71afc50ab0 add probe-rs 2026-01-16 17:45:50 +09:00
eb4532175e add jadx 2026-01-12 18:22:13 +09:00
23b3801a60 add bun 2026-01-09 13:58:46 +09:00
6995ae2461 modify 2026-01-08 19:13:42 +09:00
dece224b2a add antigravity 2026-01-07 21:12:34 +09:00
3d913f6915 feat: add 2025-12-27 17:08:20 +09:00
2be1db1075 add prusa slicer 2025-12-09 19:07:24 +09:00
e6842b86f2 add helm 2025-12-08 20:17:13 +09:00
dc7c56b81d chore 2025-12-06 12:59:01 +09:00
053cbe7ee3 chore: woman 2025-12-06 12:57:31 +09:00
a1cfce2743 remove timer 2025-11-30 21:42:57 +09:00
ea8df341e6 add squashfs 2025-11-26 18:15:37 +09:00
1f73e1ff9d chore: add ssd alias 2025-11-19 15:20:46 +09:00
74501adfca fix: ssd 2025-11-19 15:19:43 +09:00
6ee7bfb78a mofify kube.nu 2025-11-18 10:01:32 +09:00
5fcfd51b4a add kernel 2025-11-14 14:07:00 +09:00
20e97efe95 modify partition 2025-11-14 00:41:18 +09:00
cc8299c5f5 add pv 2025-11-13 20:39:09 +09:00
1763871dda add rdp 2025-11-12 11:48:51 +09:00
3d0484222e add libllvm 2025-11-11 10:53:32 +09:00
bc9b620733 add lld 2025-11-11 05:53:38 +09:00
f028201829 modify ulimit 2025-11-10 23:41:30 +09:00
d45c47d157 add nix-ld 2025-11-09 06:05:12 +09:00
749ba8fc25 add ld.nix 2025-11-09 05:58:31 +09:00
12 changed files with 114 additions and 50 deletions

View File

@@ -49,23 +49,48 @@ in {
security.sudo = { security.sudo = {
enable = true; enable = true;
extraRules = [{ extraRules = [
commands = [{ {
command = "${pkgs.grub2}/bin/grub-reboot"; users = ["allen"];
options = [ "NOPASSWD" ]; commands = [{
}]; command = "/run/current-system/sw/bin/systemctl reboot --force";
groups = [ "wheel" ]; options = [ "NOPASSWD" ];
}]; }];
}
{
commands = [{
command = "${pkgs.grub2}/bin/grub-reboot";
options = [ "NOPASSWD" ];
}];
groups = [ "wheel" ];
}
];
}; };
security.pam.loginLimits = [
{
domain = "*";
type = "soft";
item = "nofile";
value = "32768";
}
{
domain = "*";
type = "hard";
item = "nofile";
value = "65537";
}
];
networking.hostName = "haskell"; # Define your hostname. networking.hostName = "haskell"; # Define your hostname.
programs.steam.enable = true; programs.steam.enable = true;
programs.fish.enable = true; programs.fish.enable = true;
programs.nix-ld = { programs.nix-ld = {
enable = false; enable = true;
libraries = [ ]; # import ./modules/ld.nix { inherit pkgs; }; libraries = import ./modules/ld.nix { inherit pkgs; };
}; };
time.timeZone = "Asia/Seoul"; time.timeZone = "Asia/Seoul";
@@ -121,7 +146,6 @@ in {
gnome-tweaks gnome-tweaks
xf86_input_wacom xf86_input_wacom
glfw glfw
wacomtablet
libimobiledevice libimobiledevice
ifuse ifuse
git git
@@ -133,6 +157,7 @@ in {
openal openal
myRizin myRizin
libgit2 libgit2
ntfs3g
inputs.helix.packages."${pkgs.system}".helix inputs.helix.packages."${pkgs.system}".helix
]; ];
@@ -154,3 +179,5 @@ in {
system.stateVersion = "25.05"; # Did you read the comment? system.stateVersion = "25.05"; # Did you read the comment?
} }

16
flake.lock generated
View File

@@ -98,16 +98,16 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1748665073, "lastModified": 1767780135,
"narHash": "sha256-RMhjnPKWtCoIIHiuR9QKD7xfsKb3agxzMfJY8V9MOew=", "narHash": "sha256-5SbmsLMgxzPd9YMbFR4IHfOXv6bjWs+dfl6IbSq3r7s=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "282e1e029cb6ab4811114fc85110613d72771dea", "rev": "c08430923ed417abc653884328a39e98496cfd0f",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "nix-community", "owner": "nix-community",
"ref": "release-25.05", "ref": "release-25.11",
"repo": "home-manager", "repo": "home-manager",
"type": "github" "type": "github"
} }
@@ -471,16 +471,16 @@
}, },
"nixpkgs_3": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1748889542, "lastModified": 1767634882,
"narHash": "sha256-Hb4iMhIbjX45GcrgOp3b8xnyli+ysRPqAgZ/LZgyT5k=", "narHash": "sha256-2GffSfQxe3sedHzK+sTKlYo/NTIAGzbFCIsNMUPAAnk=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "10d7f8d34e5eb9c0f9a0485186c1ca691d2c5922", "rev": "3c9db02515ef1d9b6b709fc60ba9a540957f661c",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-25.05", "ref": "nixos-25.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }

View File

@@ -2,10 +2,10 @@
description = "A simple NixOS flake"; description = "A simple NixOS flake";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.05"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
helix.url = "github:helix-editor/helix/master"; helix.url = "github:helix-editor/helix/master";
home-manager = { home-manager = {
url = "github:nix-community/home-manager/release-25.05"; url = "github:nix-community/home-manager/release-25.11";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View File

@@ -54,10 +54,16 @@
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
}; };
fileSystems."/mnt/hdd1" = { # fileSystems."/mnt/hdd1" = {
device = "/dev/disk/by-uuid/EC40940C4093DC20"; # device = "/dev/disk/by-uuid/EC40940C4093DC20";
fsType = "ntfs-3g"; # fsType = "ntfs-3g";
options = [ "rw" "uid=1000" "umask=0022" "noauto" ]; # options = [ "rw" "uid=1000" "umask=0022" "noauto" ];
# };
fileSystems."/mnt/ssd1" = {
device = "/dev/disk/by-uuid/4e1710bb-2cc9-41c3-909c-34f24bd1f63e";
fsType = "btrfs";
options = [ "defaults" "ssd" "noatime" "noauto" ];
}; };
swapDevices = [ ]; swapDevices = [ ];

View File

@@ -18,6 +18,7 @@ with pkgs; [
zlib.dev zlib.dev
gdk-pixbuf gdk-pixbuf
glib glib
#glibc
gtk3 gtk3
icu icu
wayland wayland
@@ -64,5 +65,5 @@ with pkgs; [
pkg-config pkg-config
haskellPackages.zlib haskellPackages.zlib
stdenv.cc.cc stdenv.cc.cc
clang imagemagick
] ]

View File

@@ -4,14 +4,14 @@
with pkgs; [ with pkgs; [
radare2 radare2
(python3.withPackages (python-pkgs: with python-pkgs; [ jupyter-client ])) # (python3.withPackages (python-pkgs: with python-pkgs; [ jupyter-client ]))
# gdb # gdb
zap zap
lldb lldb
clang-tools clang-tools
tokio-console tokio-console
deno deno
iaito #iaito
clang clang
valgrind valgrind
ghidra-bin ghidra-bin
@@ -19,16 +19,15 @@ with pkgs; [
buf buf
uv uv
unityhub unityhub
python313Packages.r2pipe
python312Packages.r2pipe
gh gh
platformio platformio
python312Packages.pip python313Packages.r2pipe
(python313.withPackages(ps: with ps; [ jupyter-client pynvim wand ipykernel ]))
python313Packages.pip
nodejs nodejs
go go
ninja ninja
binwalk binwalk
dotnet-sdk_9
csharp-ls csharp-ls
cmake cmake
gnumake gnumake
@@ -58,4 +57,7 @@ with pkgs; [
bpf-linker bpf-linker
zlib.dev zlib.dev
conan conan
lld
libllvm
bun
] ]

View File

@@ -29,7 +29,7 @@ with pkgs; [
waypaper waypaper
swww swww
sdrpp sdrpp
rofi-wayland rofi
hyprshot hyprshot
vesktop vesktop
discordo discordo
@@ -43,14 +43,20 @@ with pkgs; [
blender blender
jetbrains.idea-ultimate jetbrains.idea-ultimate
krita krita
barrier deskflow
obsidian obsidian
audacity audacity
bitwarden bitwarden-desktop
texlive.combined.scheme-full texlive.combined.scheme-full
hugo hugo
glow glow
blockbench blockbench
xmonad-with-packages xmonad-with-packages
pureref pureref
freerdp
vscode
zellij
antigravity
google-chrome
stm32cubemx
] ]

View File

@@ -30,7 +30,7 @@ with pkgs; [
# utils # utils
xclip xclip
openssl openssl
ffmpeg ffmpeg-full
reptyr reptyr
cloc cloc
protocol protocol
@@ -84,4 +84,10 @@ with pkgs; [
partclone partclone
ncdu ncdu
dua dua
pv
squashfsTools
kubernetes-helm
argocd
jadx
probe-rs-tools
] ]

View File

@@ -1,18 +1,18 @@
{ config, pkgs, ... }: { { config, pkgs, ... }: {
systemd.services.auto-shutdown = { # systemd.services.auto-shutdown = {
description = "Automatic daily shutdown at 9:30 pm"; # description = "Automatic daily shutdown at 9:30 pm";
serviceConfig = { # serviceConfig = {
Type = "oneshot"; # Type = "oneshot";
ExecStart = [ "${pkgs.systemd}/bin/systemctl poweroff" ]; # ExecStart = [ "${pkgs.systemd}/bin/systemctl poweroff" ];
}; # };
}; # };
systemd.timers.auto-shutdown = { # systemd.timers.auto-shutdown = {
description = "Timer for daily shutdown at 9:30 pm"; # description = "Timer for daily shutdown at 9:30 pm";
wantedBy = [ "timers.target" ]; # wantedBy = [ "timers.target" ];
timerConfig = { # timerConfig = {
OnCalendar = "21:40"; # OnCalendar = "21:40";
Persistent = true; # Persistent = true;
}; # };
}; # };
} }

View File

@@ -14,4 +14,5 @@
}; };
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
virtualisation.virtualbox.host.enable = true;
} }

View File

@@ -9,6 +9,7 @@ def add-line-count [row] {
$env.KUBECONFIG = ("/home/allen/.kube/config") $env.KUBECONFIG = ("/home/allen/.kube/config")
$env.PATH = ($env.PATH | append "/home/allen/.local/share/pnpm") $env.PATH = ($env.PATH | append "/home/allen/.local/share/pnpm")
$env.PATH = ($env.PATH | append "/home/allen/.local/bin") $env.PATH = ($env.PATH | append "/home/allen/.local/bin")
$env.PATH = ($env.PATH | append "/home/allen/.cargo/bin")
alias c = clear alias c = clear
alias rb = sudo nixos-rebuild switch --flake ~/nixos-config# alias rb = sudo nixos-rebuild switch --flake ~/nixos-config#
@@ -16,5 +17,13 @@ alias clc = cloc . --exclude-dir=target,node_modules,.venv --exclude-ext=yml,yam
alias lg = lazygit alias lg = lazygit
alias zxcv = shutdown now alias zxcv = shutdown now
alias qwer = reboot alias qwer = reboot
alias ssd = cd /mnt/ssd1
alias woman = man
alias boy = man
alias male = man
alias girl = woman
alias female = woman
source ~/.config/nushell/nu/kube.nu source ~/.config/nushell/nu/kube.nu

View File

@@ -86,3 +86,9 @@ alias kgsvc = kubectl get service
alias kexec = kubectl exec -it alias kexec = kubectl exec -it
alias kl = kubectl logs alias kl = kubectl logs
alias kpf = kubectl port-forward alias kpf = kubectl port-forward
alias kcfg = kubectl config
alias kd = kubectl describe
alias kdel = kubectl delete
alias ke = kubectl edit
alias kg = kubectl get
alias k = kubectl