2024-07-24 14:13:59 +01:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
tree,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
inherit (lib.lists) flatten;
|
|
|
|
in {
|
|
|
|
imports = flatten (with tree; [
|
2023-07-21 11:48:07 +01:00
|
|
|
users.root
|
|
|
|
users.chaos
|
|
|
|
|
2024-07-24 14:13:59 +01:00
|
|
|
presets.home-manager.root-base
|
2023-07-21 11:48:07 +01:00
|
|
|
|
2024-07-24 14:13:59 +01:00
|
|
|
(with tree.presets.nixos; [
|
|
|
|
desktopGnome
|
|
|
|
laptop
|
|
|
|
encryptedUSB
|
|
|
|
])
|
2023-08-09 20:53:22 +01:00
|
|
|
|
2024-07-24 14:13:59 +01:00
|
|
|
(with tree.profiles.nixos; [
|
|
|
|
cross.arm64
|
|
|
|
remoteBuilders
|
|
|
|
|
|
|
|
gaming.steam
|
|
|
|
])
|
2023-10-23 22:17:56 +01:00
|
|
|
|
2023-07-21 11:48:07 +01:00
|
|
|
./secrets.nix
|
2024-07-24 14:32:44 +01:00
|
|
|
./hardware.nix
|
2024-07-24 14:13:59 +01:00
|
|
|
]);
|
2023-07-21 11:48:07 +01:00
|
|
|
|
2024-07-24 14:13:59 +01:00
|
|
|
home-manager.users.root.home.stateVersion = "24.05";
|
2023-07-21 11:48:07 +01:00
|
|
|
|
|
|
|
home-manager.users.chaos = {
|
2024-07-24 14:13:59 +01:00
|
|
|
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
|
2023-07-21 11:48:07 +01:00
|
|
|
];
|
2024-05-25 21:10:26 +01:00
|
|
|
home.stateVersion = "24.05";
|
2023-07-21 11:48:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall.enable = true;
|
|
|
|
networking.firewall.allowPing = true;
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [8088];
|
|
|
|
|
|
|
|
networking.hostName = "lappy-t495";
|
2023-08-09 15:11:04 +01:00
|
|
|
time.timeZone = "Europe/London";
|
2023-07-21 11:48:07 +01:00
|
|
|
|
2024-05-25 21:10:26 +01:00
|
|
|
system.stateVersion = "24.05";
|
2023-07-21 11:48:07 +01:00
|
|
|
}
|