Compare commits

..

13 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
8 changed files with 66 additions and 38 deletions

View File

@@ -49,13 +49,23 @@ 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 = [ security.pam.loginLimits = [
@@ -136,7 +146,6 @@ in {
gnome-tweaks gnome-tweaks
xf86_input_wacom xf86_input_wacom
glfw glfw
wacomtablet
libimobiledevice libimobiledevice
ifuse ifuse
git git
@@ -170,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

@@ -28,7 +28,6 @@ with pkgs; [
go go
ninja ninja
binwalk binwalk
dotnet-sdk_9
csharp-ls csharp-ls
cmake cmake
gnumake gnumake
@@ -60,4 +59,5 @@ with pkgs; [
conan conan
lld lld
libllvm 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,10 +43,10 @@ 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
@@ -54,4 +54,9 @@ with pkgs; [
xmonad-with-packages xmonad-with-packages
pureref pureref
freerdp 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
@@ -85,4 +85,9 @@ with pkgs; [
ncdu ncdu
dua dua
pv 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

@@ -19,4 +19,11 @@ alias zxcv = shutdown now
alias qwer = reboot alias qwer = reboot
alias ssd = cd /mnt/ssd1 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