huh
This commit is contained in:
parent
254c963998
commit
63398d5b19
5 changed files with 26 additions and 6 deletions
21
flake.nix
21
flake.nix
|
|
@ -22,10 +22,16 @@
|
|||
nvf,
|
||||
alejandra,
|
||||
...
|
||||
} @ inputs: {
|
||||
} @ inputs: let
|
||||
inherit (self) outputs;
|
||||
in {
|
||||
# use "nixos", or your hostname as the name of the configuration
|
||||
# it's a better practice than "default" shown in the video
|
||||
|
||||
nixosModules = import ./modules/nixos;
|
||||
|
||||
homeManagerModules = import ./modules/home-manager;
|
||||
|
||||
packages."x86_64-linux".default =
|
||||
(nvf.lib.neovimConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||
|
|
@ -34,7 +40,7 @@
|
|||
.neovim;
|
||||
|
||||
nixosConfigurations = {
|
||||
nixos = nixpkgs.lib.nixosSystem {
|
||||
hummingbird = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
{
|
||||
|
|
@ -42,11 +48,20 @@
|
|||
}
|
||||
|
||||
./hosts/hummingbird/configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
nvf.nixosModules.default
|
||||
./nvf-configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
"luna@hummingbird" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages."x86_64-linux";
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./home-manager/hummingbird/home.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue