59 lines
1.1 KiB
Nix
59 lines
1.1 KiB
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
|
|
imports = [
|
|
./hardware.nix
|
|
./wireguard.nix
|
|
];
|
|
|
|
deployment.targetHost = null;
|
|
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
|
|
|
|
console.keyMap = "us";
|
|
|
|
sops = {
|
|
gnupg.sshKeyPaths = [ ];
|
|
age = {
|
|
sshKeyPaths = [ ];
|
|
keyFile = "/var/lib/sops-nix/key.txt";
|
|
};
|
|
defaultSopsFile = ./secrets/secrets.yaml;
|
|
secrets.wg0_private = { };
|
|
};
|
|
|
|
my.users = {
|
|
dala = {
|
|
description = "Dala";
|
|
groups = [
|
|
"wheel"
|
|
"network"
|
|
"audio"
|
|
"video"
|
|
"docker"
|
|
"wireshark"
|
|
"dialout"
|
|
];
|
|
uid = 1000;
|
|
shell = pkgs.fish;
|
|
|
|
hmConfig = {
|
|
programs.helix.enable = true;
|
|
my.communications.matrix-client.enable = true;
|
|
my.desktop.sway.monitors = [
|
|
{
|
|
name = "Chimei Innolux Corporation 0x14C9 Unknown";
|
|
resolution = "1920x1080@60.008Hz";
|
|
position = "0 0";
|
|
defaultWorkspace = 1;
|
|
}
|
|
];
|
|
nixpkgs.config.allowUnfree = true;
|
|
my.development.tools.embedded.enable = true;
|
|
};
|
|
};
|
|
};
|
|
}
|