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-08-02 13:04:16 +01:00
|
|
|
users.guest
|
2023-07-21 11:48:07 +01:00
|
|
|
|
2024-07-24 14:13:59 +01:00
|
|
|
(with tree.presets.nixos; [
|
2024-07-24 15:11:46 +01:00
|
|
|
desktopGui
|
2024-07-24 14:13:59 +01:00
|
|
|
laptop
|
2024-07-24 15:11:46 +01:00
|
|
|
gaming
|
2024-07-24 14:13:59 +01:00
|
|
|
encryptedUSB
|
2024-08-12 15:59:00 +01:00
|
|
|
kernelLatest
|
2024-07-24 14:13:59 +01:00
|
|
|
])
|
2023-08-09 20:53:22 +01:00
|
|
|
|
2024-07-24 14:13:59 +01:00
|
|
|
(with tree.profiles.nixos; [
|
|
|
|
cross.arm64
|
|
|
|
remoteBuilders
|
2024-07-24 15:11:46 +01:00
|
|
|
])
|
2024-07-24 14:13:59 +01:00
|
|
|
|
2024-07-24 15:11:46 +01:00
|
|
|
(with presets.home-manager.by-user; [
|
|
|
|
root.base
|
2024-07-24 15:18:57 +01:00
|
|
|
chaos.base
|
2024-07-24 15:11:46 +01:00
|
|
|
chaos.guiDevDesktop
|
|
|
|
chaos.gaming
|
2024-07-24 14:13:59 +01:00
|
|
|
])
|
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-08-02 13:04:16 +01:00
|
|
|
home-manager.users.guest = {
|
2024-08-12 15:59:00 +01:00
|
|
|
imports = flatten (with tree; [
|
|
|
|
(with profiles.home-manager; [
|
|
|
|
base
|
|
|
|
])
|
|
|
|
|
|
|
|
(with presets.home-manager; [
|
|
|
|
gaming
|
|
|
|
guiDesktop
|
|
|
|
])
|
|
|
|
]);
|
2024-08-02 13:04:16 +01:00
|
|
|
home.stateVersion = "24.05";
|
|
|
|
};
|
|
|
|
|
2024-07-24 15:11:46 +01:00
|
|
|
networking.firewall = {
|
|
|
|
enable = true;
|
|
|
|
allowPing = true;
|
2023-07-21 11:48:07 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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";
|
2024-07-24 15:11:46 +01:00
|
|
|
home-manager.users.root.home.stateVersion = "24.05";
|
|
|
|
home-manager.users.chaos.home.stateVersion = "24.05";
|
2023-07-21 11:48:07 +01:00
|
|
|
}
|