58 lines
1 KiB
Nix
58 lines
1 KiB
Nix
{
|
|
config,
|
|
pkgs,
|
|
inputs,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
# Include the results of the hardware scan.
|
|
./hardware-configuration.nix
|
|
inputs.disko.nixosModules.disko
|
|
./disko.nix
|
|
];
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
services.tlp.eanble = true;
|
|
|
|
|
|
networking.hostName = "lenar"; # Define your hostname.
|
|
|
|
# My own modules configuration
|
|
krop = {
|
|
ide = {
|
|
enable = true;
|
|
install-pycharm = true;
|
|
};
|
|
python = {
|
|
enable = true;
|
|
install-older = true;
|
|
};
|
|
cli = {
|
|
enable = true;
|
|
install-k8s-tools = true;
|
|
install-cloud-cli = true;
|
|
};
|
|
docker = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
systemd.services.configure-mic-leds = rec {
|
|
wantedBy = [ "sound.target" ];
|
|
after = wantedBy;
|
|
serviceConfig.Type = "oneshot";
|
|
script = ''
|
|
echo off > /sys/class/sound/ctl-led/mic/mode
|
|
'';
|
|
};
|
|
|
|
home-manager = {
|
|
extraSpecialArgs = {
|
|
inherit inputs;
|
|
};
|
|
users = {
|
|
"krop" = import ../../users/krop;
|
|
};
|
|
};
|
|
}
|