nix-config/hosts/wenar-nix/default.nix

60 lines
1 KiB
Nix
Raw Normal View History

2024-11-11 08:53:19 +01:00
{
config,
pkgs,
inputs,
...
}:
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
inputs.disko.nixosModules.disko
inputs.nixos-hardware.nixosModules.common-cpu-intel
./disko.nix
];
zramSwap.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
networking.hostName = "wenar-nix"; # Define your hostname.
# My own modules configuration
krop = {
audio = {
enable = true;
};
ide = {
enable = true;
install-pycharm = true;
};
python = {
enable = true;
install-additional = true;
};
cli = {
enable = true;
install-k8s-tools = true;
install-cloud-cli = true;
};
docker = {
enable = true;
changeDefaultNetwork = true;
};
de.gnome = {
enable = true;
};
};
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = {
inherit inputs;
};
users = {
"krop" = import ../../users/krop;
};
};
}