nix-config/hosts/lenar/default.nix

44 lines
775 B
Nix
Raw Normal View History

2024-09-22 21:36:02 +02:00
{
config,
pkgs,
inputs,
...
}:
{
imports = [
# Include the results of the hardware scan.
./hardware-configuration.nix
2024-09-22 23:53:50 +02:00
inputs.disko.nixosModules.disko
./disko.nix
2024-09-22 21:36:02 +02:00
];
networking.hostName = "lenar"; # Define your hostname.
# My own modules configuration
krop = {
ide = {
enable = true;
install-pycharm = true;
};
python.install-older = true;
};
2024-09-23 20:29:48 +02:00
systemd.services.configure-mic-leds = rec {
wantedBy = [ "sound.target" ];
after = wantedBy;
serviceConfig.Type = "oneshot";
script = ''
echo follow-route > /sys/class/sound/ctl-led/mic/mode
'';
};
2024-09-22 21:36:02 +02:00
home-manager = {
extraSpecialArgs = {
inherit inputs;
};
users = {
2024-09-25 20:49:23 +02:00
"krop" = import ../../users/krop;
2024-09-22 21:36:02 +02:00
};
};
}