flake: add tuigreet package; add default formatter to devshell

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib224afe5d3fba3d5934ab82b67ee48fa6a6a6964
This commit is contained in:
raf 2025-11-25 17:34:55 +03:00
commit a075b7c136
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -16,7 +16,7 @@
... ...
} @ inputs: } @ inputs:
flake-parts.lib.mkFlake {inherit inputs self;} { flake-parts.lib.mkFlake {inherit inputs self;} {
systems = import inputs.systems; systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
imports = [flake-parts.flakeModules.easyOverlay]; imports = [flake-parts.flakeModules.easyOverlay];
perSystem = { perSystem = {
@ -94,7 +94,12 @@
devShells = { devShells = {
default = pkgs.mkShellNoCC { default = pkgs.mkShellNoCC {
name = "nyxexprs"; name = "nyxexprs";
packages = [pkgs.npins]; packages = [
pkgs.npins
# Also put the default formatter in the devshell
config.formatter
];
}; };
}; };
@ -125,8 +130,7 @@
}; };
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
systems.url = "github:nix-systems/default-linux";
flake-parts = { flake-parts = {
url = "github:hercules-ci/flake-parts"; url = "github:hercules-ci/flake-parts";
inputs.nixpkgs-lib.follows = "nixpkgs"; inputs.nixpkgs-lib.follows = "nixpkgs";
@ -138,6 +142,16 @@
}; };
# Rest of my packages will be constructed from previous flakes # Rest of my packages will be constructed from previous flakes
ndg = {
url = "github:feel-co/ndg";
inputs.nixpkgs.follows = "nixpkgs";
};
nh = {
url = "github:nix-community/nh";
inputs.nixpkgs.follows = "nixpkgs";
};
watt = { watt = {
url = "github:NotAShelf/watt"; url = "github:NotAShelf/watt";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -153,11 +167,6 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
ndg = {
url = "github:feel-co/ndg";
inputs.nixpkgs.follows = "nixpkgs";
};
licenseit = { licenseit = {
url = "github:notashelf/licenseit"; url = "github:notashelf/licenseit";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -178,11 +187,6 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
nh = {
url = "github:nix-community/nh";
inputs.nixpkgs.follows = "nixpkgs";
};
gh-notify = { gh-notify = {
url = "github:notashelf/gh-notify"; url = "github:notashelf/gh-notify";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
@ -198,6 +202,11 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
tuigreet = {
url = "github:notashelf/tuigreet";
inputs.nixpkgs.follows = "nixpkgs";
};
# 3rd party flakes that I want to extract packages from # 3rd party flakes that I want to extract packages from
wiremix = { wiremix = {
url = "github:tsowell/wiremix"; url = "github:tsowell/wiremix";