treewide: adopt flakes

after using non-flake setup time has arrived to
switch to flakes
eeleco clearly won and flakes are the future
This commit is contained in:
Wroclaw 2025-04-01 01:05:52 +02:00
parent e3264f1451
commit c5246a1b46
9 changed files with 231 additions and 140 deletions

32
flake.nix Normal file
View file

@ -0,0 +1,32 @@
{
inputs = {
nixos-vscode-server = {
type = "github";
owner = "nix-community";
repo = "nixos-vscode-server";
inputs = {
nixpkgs.follows = "nixpkgs";
};
};
nixpkgs = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "nixos-24.11";
};
nixpkgs-unstable = {
type = "github";
owner = "NixOS";
repo = "nixpkgs";
ref = "nixos-unstable";
};
cosmic-modules = {
type = "github";
owner = "lilyinstarlight";
repo = "nixos-cosmic";
};
};
outputs = inputs: import ./outputs.nix {
inherit inputs;
};
}