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: youwen5
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"
'';

View file

@ -8,7 +8,6 @@
[
./configuration.nix
../../modules
../../secrets
self.nixosModules.liminalOS
{
home-manager.users.youwen = {

View file

@ -8,4 +8,6 @@
nix.extraOptions = ''
!include ${config.age.secrets.nix_config_github_pat.path}
'';
nix.settings.trusted-users = [ "youwen" ];
}