Files
nix-noctalia/flake.nix

48 lines
1.2 KiB
Nix
Raw Normal View History

2026-07-25 22:56:20 +02:00
{
description = "Noctalica test";
2026-07-26 22:03:51 +02:00
nixConfig = {
extra-substituters = [ "https://noctalia.cachix.org" ];
extra-trusted-public-keys = [ "noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4=" ];
};
2026-07-25 22:56:20 +02:00
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
noctalia = {
2026-07-26 22:03:51 +02:00
url = "github:noctalia-dev/noctalia/cachix";
# inputs.nixpkgs.follows = "nixpkgs";
2026-07-25 22:56:20 +02:00
};
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";
2026-07-26 22:03:51 +02:00
specialArgs = { inherit inputs; };
2026-07-25 22:56:20 +02:00
modules = [
2026-07-26 22:03:51 +02:00
home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
2026-07-25 22:56:20 +02:00
home-manager.extraSpecialArgs = {
inherit inputs;
};
2026-07-26 22:03:51 +02:00
home-manager.users.peter = import ./modules/home.nix;
}
2026-07-25 22:56:20 +02:00
2026-07-26 22:03:51 +02:00
./modules/niri.nix
./modules/configuration.nix
2026-07-25 22:56:20 +02:00
];
};
};
}