mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
40 lines
997 B
Nix
40 lines
997 B
Nix
{
|
|
description = "A flake for my personnal configurations";
|
|
inputs = {
|
|
nixpkgs.url = github:NixOS/nixpkgs/nixos-21.11;
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
neovim-nightly-overlay = {
|
|
url = "github:nix-community/neovim-nightly-overlay";
|
|
};
|
|
|
|
};
|
|
|
|
outputs = {home-manager, nixpkgs, neovim-nightly-overlay, nur, ... }@inputs :
|
|
|
|
{
|
|
nixosConfigurations = {
|
|
lisa = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [ ./configuration.nix ./config/hosts/lisa.nix ./config/web-services/lisa-services.nix
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.julien = import ./config/home/home-lisa.nix;
|
|
nixpkgs.overlays = [
|
|
inputs.neovim-nightly-overlay.overlay
|
|
];
|
|
|
|
}];
|
|
|
|
};
|
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
}
|