2024-07-26 20:34:42 +02:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
2024-07-30 20:42:59 +02:00
|
|
|
|
|
|
|
imports = [
|
|
|
|
./hardware.nix
|
|
|
|
./wireguard.nix
|
2024-07-26 20:34:42 +02:00
|
|
|
];
|
2024-07-30 20:42:59 +02:00
|
|
|
|
|
|
|
deployment.targetHost = null;
|
|
|
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
2024-07-26 20:34:42 +02:00
|
|
|
|
2024-08-01 21:40:51 +02:00
|
|
|
console.keyMap = "us";
|
2024-07-26 20:34:42 +02:00
|
|
|
|
|
|
|
sops = {
|
|
|
|
gnupg.sshKeyPaths = [ ];
|
|
|
|
age = {
|
|
|
|
sshKeyPaths = [ ];
|
|
|
|
keyFile = "/var/lib/sops-nix/key.txt";
|
|
|
|
};
|
|
|
|
defaultSopsFile = ./secrets/secrets.yaml;
|
|
|
|
secrets.wg0_private = { };
|
|
|
|
};
|
|
|
|
|
2024-08-01 21:40:51 +02:00
|
|
|
my.users = {
|
2024-07-26 20:34:42 +02:00
|
|
|
dala = {
|
|
|
|
description = "Dala";
|
|
|
|
groups = [
|
|
|
|
"wheel"
|
|
|
|
"network"
|
|
|
|
"audio"
|
|
|
|
"video"
|
|
|
|
"docker"
|
|
|
|
"wireshark"
|
|
|
|
];
|
|
|
|
uid = 1000;
|
|
|
|
shell = pkgs.fish;
|
|
|
|
|
2024-08-01 21:40:51 +02:00
|
|
|
hmConfig = {
|
2024-07-26 20:34:42 +02:00
|
|
|
programs.helix.enable = true;
|
2024-08-01 21:40:51 +02:00
|
|
|
my.communications.matrix-client.enable = true;
|
|
|
|
my.desktop.sway.monitors = [
|
2024-07-26 20:34:42 +02:00
|
|
|
{
|
|
|
|
name = "Chimei Innolux Corporation 0x14C9 Unknown";
|
|
|
|
resolution = "1920x1080@60.008Hz";
|
|
|
|
position = "0 0";
|
|
|
|
defaultWorkspace = 1;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
2024-08-19 18:14:53 +02:00
|
|
|
my.development.tools.embedded.enable = true;
|
2024-07-26 20:34:42 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|