mirror of
https://github.com/youwen5/nixos.git
synced 2025-01-17 20:52:09 -08:00
chore: migrate callisto configuration
This commit is contained in:
parent
3a6f88043e
commit
4bcfbd826b
3 changed files with 2 additions and 14 deletions
|
@ -33,13 +33,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.youwen = {
|
|
||||||
isNormalUser = true;
|
|
||||||
description = "Youwen Wu";
|
|
||||||
extraGroups = [ "wheel" ];
|
|
||||||
shell = pkgs.fish;
|
|
||||||
};
|
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
loader.systemd-boot.enable = true;
|
loader.systemd-boot.enable = true;
|
||||||
loader.efi.canTouchEfiVariables = false;
|
loader.efi.canTouchEfiVariables = false;
|
||||||
|
@ -60,12 +53,6 @@
|
||||||
inputs.vesktop-bin.overlays.default
|
inputs.vesktop-bin.overlays.default
|
||||||
];
|
];
|
||||||
|
|
||||||
nix.settings = {
|
|
||||||
trusted-users = [
|
|
||||||
"youwen"
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="85"
|
KERNEL=="macsmc-battery", SUBSYSTEM=="power_supply", ATTR{charge_control_end_threshold}="90", ATTR{charge_control_start_threshold}="85"
|
||||||
'';
|
'';
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
[
|
[
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
../../modules
|
../../modules
|
||||||
../../secrets
|
|
||||||
self.nixosModules.liminalOS
|
self.nixosModules.liminalOS
|
||||||
{
|
{
|
||||||
home-manager.users.youwen = {
|
home-manager.users.youwen = {
|
||||||
|
|
|
@ -8,4 +8,6 @@
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
!include ${config.age.secrets.nix_config_github_pat.path}
|
!include ${config.age.secrets.nix_config_github_pat.path}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
nix.settings.trusted-users = [ "youwen" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue