36 lines
1006 B
Nix
36 lines
1006 B
Nix
{
|
|
description = "Nixos config flake";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
# Declaratively install flatpaks
|
|
# nix-flatpak.url = "github:gmodena/nix-flatpak"; -- Fork is being used until #24 merges
|
|
nix-flatpak.url = "github:Tomaszal/nix-flatpak/feature/overrides";
|
|
|
|
# Used for theming the OS, see modules/home-manager/theme.nix
|
|
nix-colors.url = "github:misterio77/nix-colors";
|
|
|
|
# Necessary for modules/home-manager/programs/tmux.nix
|
|
tmux-plugin-manager = {
|
|
url = "github:tmux-plugins/tpm";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
|
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
inputs.home-manager.nixosModules.default
|
|
./hosts/desktop/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
}
|