chore: removed dead imports

This commit is contained in:
Nick 2025-06-26 02:43:48 -05:00
parent 7b29b69fd1
commit 0814b03d1f
29 changed files with 76 additions and 160 deletions

View file

@ -4,21 +4,22 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
};
outputs = inputs @ {
flake-parts,
self,
...
}: let
system = "x86_64-linux";
in
flake-parts.lib.mkFlake {inherit inputs;} {
outputs =
inputs@{
flake-parts,
...
}:
let
system = "x86_64-linux";
in
flake-parts.lib.mkFlake { inherit inputs; } {
imports = [
./parts
];
systems = [
system
];
perSystem = {pkgs, ...}: {
perSystem = {
_module.args.pkgs = import inputs.nixpkgs {
inherit system;
};

View file

@ -1,20 +1,14 @@
{
perSystem = {
pkgs,
lib,
config,
self',
...
}: let
configPath = ./config;
let
configPath = ./config;
devshellImports = let
devshellImports =
let
files = builtins.attrNames (builtins.readDir configPath);
in
map
(name: configPath + "/${name}")
(builtins.filter (name: builtins.match ".*\\.nix$" name != null) files);
in {
imports = devshellImports;
};
map (name: configPath + "/${name}") (
builtins.filter (name: builtins.match ".*\\.nix$" name != null) files
);
in
{
imports = devshellImports;
}