nixos-config/configurations/fuyuki/default.nix
2024-08-01 21:40:51 +02:00

61 lines
1.1 KiB
Nix

{
config,
lib,
extraInfo,
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"
];
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.embedded-tools.enable = true;
};
};
};
}