.files/nix/nixosModules/extra/leana.nix
Léana 江 ebf8468807
tree-wide: format with nixfmt
Another saturday another useless formatter change.
It's my dotfiles, after all

alejandra doesn't handle c-style inline comments well.
2025-11-08 10:15:58 +08:00

45 lines
856 B
Nix

{
config,
pkgs,
...
}:
{
#
# My user
#
nix.settings.trusted-users = [ "leana" ];
users.users."leana" = {
isNormalUser = true;
home = "/home/leana";
description = "Leana";
group = "leana";
extraGroups = [ "wheel" ];
shell = pkgs.bash;
openssh.authorizedKeys.keys = config.users.users.root.openssh.authorizedKeys.keys;
};
users.groups.leana = { };
#
# My nix binary cache
#
nix.settings = {
extra-substituters = [
"https://leana8959.cachix.org"
];
extra-trusted-substituters = [
"https://leana8959.cachix.org"
];
extra-trusted-public-keys = [
"leana8959.cachix.org-1:CxQSAp8lcgMv8Me459of0jdXRW2tcyeYRKTiiUq8z0M="
];
experimental-features = [
"nix-command"
"flakes"
];
allow-import-from-derivation = true;
sandbox = true;
};
}