48 lines
1.2 KiB
Nix
48 lines
1.2 KiB
Nix
{
|
|
description = "Noctalica test";
|
|
|
|
nixConfig = {
|
|
extra-substituters = [ "https://noctalia.cachix.org" ];
|
|
extra-trusted-public-keys = [ "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" ];
|
|
};
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
noctalia = {
|
|
url = "github:noctalia-dev/noctalia/cachix";
|
|
# inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
lazyvim = {
|
|
url = "github:LazyVim/starter";
|
|
flake = false;
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, noctalia, home-manager, lazyvim, ...}@inputs: {
|
|
nixosConfigurations.vm = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
home-manager.nixosModules.home-manager {
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.extraSpecialArgs = {
|
|
inherit inputs;
|
|
};
|
|
|
|
home-manager.users.peter = import ./modules/home.nix;
|
|
}
|
|
|
|
./modules/niri.nix
|
|
./modules/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
}
|