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 = {
enable = true;
extraRules = [{
extraRules = [
{
users = ["allen"];
commands = [{
command = "/run/current-system/sw/bin/systemctl reboot --force";
options = [ "NOPASSWD" ];
}];
}
{
commands = [{
command = "${pkgs.grub2}/bin/grub-reboot";
options = [ "NOPASSWD" ];
}];
groups = [ "wheel" ];
}];
}
];
};
security.pam.loginLimits = [
@@ -136,7 +146,6 @@ in {
gnome-tweaks
xf86_input_wacom
glfw
wacomtablet
libimobiledevice
ifuse
git
@@ -170,3 +179,5 @@ in {
system.stateVersion = "25.05"; # Did you read the comment?
}

16
flake.lock generated
View File

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

View File

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

View File

@@ -28,7 +28,6 @@ with pkgs; [
go
ninja
binwalk
dotnet-sdk_9
csharp-ls
cmake
gnumake
@@ -60,4 +59,5 @@ with pkgs; [
conan
lld
libllvm
bun
]

View File

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

View File

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

View File

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

View File

@@ -19,4 +19,11 @@ alias zxcv = shutdown now
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