I love it, it just works out of the box, unlike nixd which was so broken I couldn't get it to work, and it's so much more featureful, it has insane autocompletion for keywords and vars and I can go to definition/go to references on files/vars etc and it has diagnostics and shows when there is an error, it's so much better, and it has completion for nix options
23 lines
462 B
Nix
23 lines
462 B
Nix
{ pkgs, inputs, ... }: {
|
|
|
|
imports = [
|
|
./hardware-configuration-laptop.nix
|
|
../modules/common.nix
|
|
../modules/kde.nix
|
|
../modules/networking.nix
|
|
../modules/laptop.nix
|
|
inputs.home-manager.nixosModules.default
|
|
];
|
|
|
|
networking.hostName = "kyren-laptop";
|
|
|
|
home-manager = {
|
|
extraSpecialArgs = { inherit inputs pkgs; };
|
|
useUserPackages = true;
|
|
useGlobalPkgs = true;
|
|
users = {
|
|
"kyren" = import ./home.nix;
|
|
};
|
|
};
|
|
}
|