48 lines
884 B
Nix
48 lines
884 B
Nix
|
{
|
||
|
tree,
|
||
|
pkgs,
|
||
|
...
|
||
|
}: {
|
||
|
imports = with tree; [
|
||
|
users.root
|
||
|
users.chaos
|
||
|
profiles.sshd
|
||
|
profiles.kernels.latest
|
||
|
|
||
|
presets.nixos.desktop
|
||
|
presets.nixos.laptop
|
||
|
presets.nixos.encrypted-usb
|
||
|
|
||
|
./secrets.nix
|
||
|
];
|
||
|
|
||
|
home-manager.users.root = {
|
||
|
imports = with tree; [home.base];
|
||
|
home.stateVersion = "23.05";
|
||
|
};
|
||
|
|
||
|
home-manager.users.chaos = {
|
||
|
imports = with tree; [
|
||
|
home.base
|
||
|
home.dev.all
|
||
|
home.home-folders
|
||
|
home.backup-apps
|
||
|
|
||
|
home.programming.editors.vscode
|
||
|
home.programming.languages.rust
|
||
|
home.programming.languages.nix
|
||
|
];
|
||
|
home.stateVersion = "23.05";
|
||
|
};
|
||
|
|
||
|
networking.firewall.enable = true;
|
||
|
networking.firewall.allowPing = true;
|
||
|
|
||
|
networking.firewall.allowedTCPPorts = [8088];
|
||
|
|
||
|
networking.hostName = "lappy-t495";
|
||
|
time.timeZone = "Europe/Germany";
|
||
|
|
||
|
system.stateVersion = "23.05";
|
||
|
}
|