nixos-config/configurations/fuyuki/default.nix

54 lines
987 B
Nix
Raw Normal View History

2024-07-26 20:34:42 +02:00
{
pkgs,
...
}:
{
imports = [
./hardware.nix
./wireguard.nix
2024-07-26 20:34:42 +02:00
];
deployment.targetHost = null;
boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
2024-07-26 20:34:42 +02:00
2024-12-06 14:56:27 +01:00
nixpkgs.config.allowUnfree = true;
2024-12-10 13:37:56 +01:00
age.secrets = {
wg0Private.file = ../../secrets/fuyuki-wg0.age;
2024-07-26 20:34:42 +02:00
};
2025-01-09 12:24:44 +01:00
my.connection.vpn.enable = true;
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"
2024-09-04 21:36:42 +02:00
"dialout"
2024-07-26 20:34:42 +02:00
];
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.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
};
};
};
}