mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: tucked away hosts
This commit is contained in:
parent
f573e1a1a9
commit
32eafdd5fe
16 changed files with 2 additions and 3 deletions
52
nix/configurations/host/carbon/default.nix
Normal file
52
nix/configurations/host/carbon/default.nix
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
./age.nix
|
||||
./battery.nix
|
||||
./gui.nix
|
||||
./locale.nix
|
||||
./audio.nix
|
||||
./networking.nix
|
||||
./bluetooth.nix
|
||||
./packages.nix
|
||||
./virt.nix
|
||||
];
|
||||
|
||||
system.stateVersion = "24.05";
|
||||
|
||||
boot.loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
users.users.leana = {
|
||||
uid = 1000;
|
||||
isNormalUser = true;
|
||||
description = "leana";
|
||||
extraGroups = [
|
||||
"wheel" # sudoers
|
||||
"video" # light
|
||||
"audio" # pipewire
|
||||
"docker"
|
||||
"vboxusers"
|
||||
];
|
||||
packages = [ ];
|
||||
};
|
||||
|
||||
nix.settings.trusted-users = [
|
||||
"root"
|
||||
"@wheel"
|
||||
];
|
||||
|
||||
nix.gc = {
|
||||
automatic = true;
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 15d";
|
||||
};
|
||||
|
||||
nix.optimise = {
|
||||
automatic = true;
|
||||
dates = [ "weekly" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue