init nix
This commit is contained in:
parent
8f5e86c610
commit
6fc9fc7506
3 changed files with 40 additions and 0 deletions
27
flake.nix
Normal file
27
flake.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
description = "Dotfile manager";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
dotfiles = {
|
||||
url = "git.ood.ovh:hactarus/dotfiles";
|
||||
flake = false;
|
||||
};
|
||||
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
||||
homeConfigurations.foodogsquared = home-manager.lib.homeManagerConfiguration {
|
||||
# The home-manager configuration.
|
||||
modules = [ ./home.nix ];
|
||||
|
||||
extraSpecialArgs = {
|
||||
inherit (inputs) dotfiles;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue