nix-dotfiles/flake.nix

40 lines
964 B
Nix
Raw Normal View History

2024-01-04 21:21:04 -05:00
{
description = "NixOS configuration with flakes";
inputs = {
nixpkgs.url = "nixpkgs/nixos-unstable";
2024-04-13 23:45:36 -04:00
2024-01-10 10:26:07 -05:00
# xdg-terminal-exec = {
# url = "path:/etc/nixos/flakes/xdg-terminal-exec";
# inputs.nixpkgs.follows = "nixpkgs";
# };
2024-01-04 21:21:04 -05:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
# nixvim = {
# url = "github:nix-community/nixvim";
# inputs.nixpkgs.follows = "nixpkgs";
# };
# nur.url = "github:nix-community/NUR";
2024-01-04 21:21:04 -05:00
};
2024-01-10 10:26:07 -05:00
outputs = { self, nixpkgs, home-manager }:
let
system = "x86_64-linux";
hostname = "de-lacadie";
2024-04-13 23:45:36 -04:00
in {
nixosConfigurations = {
${hostname} = nixpkgs.lib.nixosSystem {
2024-04-13 23:45:36 -04:00
inherit system;
modules = [
./hosts/${hostname}/configuration.nix
2024-04-13 23:45:36 -04:00
home-manager.nixosModules.home-manager
# nur.nixosModules.nur
];
};
2024-01-04 21:21:04 -05:00
};
};
}