chore: migrate callisto configuration

This commit is contained in:
Youwen Wu 2024-12-27 21:12:09 -08:00
parent 3a6f88043e
commit 4bcfbd826b
Signed by: youwen
GPG key ID: 865658ED1FE61EC3
3 changed files with 2 additions and 14 deletions

View file

@ -33,13 +33,6 @@
};
};
users.users.youwen = {
isNormalUser = true;
description = "Youwen Wu";
extraGroups = [ "wheel" ];
shell = pkgs.fish;
};
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = false;
@ -60,12 +53,6 @@
inputs.vesktop-bin.overlays.default
];
nix.settings = {
trusted-users = [
"youwen"
];
};
services.udev.extraRules = ''
KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="85"
'';