61 lines
1 KiB
Nix
61 lines
1 KiB
Nix
{
|
|
lib,
|
|
tree,
|
|
...
|
|
}: let
|
|
inherit (lib.lists) flatten;
|
|
in {
|
|
imports = flatten (with tree; [
|
|
users.root
|
|
users.chaos
|
|
|
|
presets.home-manager.root-base
|
|
|
|
(with tree.presets.nixos; [
|
|
desktopGnome
|
|
laptop
|
|
encryptedUSB
|
|
])
|
|
|
|
(with tree.profiles.nixos; [
|
|
cross.arm64
|
|
remoteBuilders
|
|
|
|
gaming.steam
|
|
])
|
|
|
|
./secrets.nix
|
|
]);
|
|
|
|
home-manager.users.root.home.stateVersion = "24.05";
|
|
|
|
home-manager.users.chaos = {
|
|
imports = with tree.profiles.home-manager; [
|
|
base
|
|
dev.all
|
|
reversing
|
|
homeFolders
|
|
musicLibrary
|
|
|
|
programming.editors.nano
|
|
programming.editors.vscode
|
|
programming.languages.rust
|
|
programming.languages.nix
|
|
|
|
gaming.platforms.steam
|
|
gaming.platforms.lutris
|
|
];
|
|
home.stateVersion = "24.05";
|
|
};
|
|
|
|
networking.firewall.enable = true;
|
|
networking.firewall.allowPing = true;
|
|
|
|
networking.firewall.allowedTCPPorts = [8088];
|
|
|
|
networking.hostName = "lappy-t495";
|
|
time.timeZone = "Europe/London";
|
|
|
|
system.stateVersion = "24.05";
|
|
}
|