nix-config/hosts/desktop1/configuration.nix
smayzy 9037f01470
All checks were successful
nixos config pipeline / show-flake (push) Successful in 31s
nixos config pipeline / deploy (push) Successful in 7s
add cyberchef and correct things in nixos containers
2025-08-30 20:27:24 +02:00

56 lines
1.1 KiB
Nix

{ inputs, config, ... }:
{
imports = [
../common/common.nix
./hardware-configuration.nix
];
networking.hostName = "desktop1";
networking.bridges.br0.interfaces = [ "enp4s0" ];
networking.interfaces.br0.ipv4.addresses = [ { address = "192.168.1.146"; prefixLength = 24; } ];
networking.defaultGateway = "192.168.1.254";
networking.nameservers = [ "192.168.1.137" "192.168.1.49" ];
smayzy = {
desktop.enable = true;
nvidia.enable = true;
virt.enable = true;
hyprland.enable = true;
kde.enable = true;
docker.enable = true;
containers = {
nixos = {
};
docker = {
cyberchef = {
enable = true;
port = 6900;
};
};
networking = {
bridge = "br0";
dns = [ "192.168.1.202" ];
gateway = "192.168.1.254";
};
};
};
home-manager = {
extraSpecialArgs = {
inherit inputs;
smayzy = config.smayzy;
};
users = {
smayzy = import ./home.nix;
};
backupFileExtension = "backup";
};
programs.adb.enable = true;
system.stateVersion = "24.11";
}