chore: Run nix fmt

Also removed an unnecessary variable and added syntax highlighting.
This commit is contained in:
Donovan Glover 2024-04-17 13:54:28 -04:00
parent 1e6188cc45
commit 7f60479a90
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 17 additions and 14 deletions

View File

@ -53,20 +53,24 @@
then callPackage ./${directory}/${file} { }
else
if directory == "tests"
then import ./${directory}/${file} {
inherit self;
pkgs = nixpkgs.legacyPackages.x86_64-linux;
}
then
import ./${directory}/${file}
{
inherit self;
pkgs = nixpkgs.legacyPackages.x86_64-linux;
}
else
if directory == "hardware"
then nixosSystem {
system = "x86_64-linux";
specialArgs = attrs // { nix-config = self; };
modules = [
./.
./${directory}/${file}
];
}
then
nixosSystem
{
system = "x86_64-linux";
specialArgs = attrs // { nix-config = self; };
modules = [
./.
./${directory}/${file}
];
}
else import ./${directory}/${file};
})
(attrNames (readDir ./${directory}))));

View File

@ -4,7 +4,6 @@ let
inherit (pkgs) fetchFromGitHub vimPlugins;
inherit (pkgs.vimUtils) buildVimPlugin;
inherit (config.lib.stylix.scheme) slug;
inherit (config.xdg.userDirs) documents;
vim-nix-rummik = buildVimPlugin {
pname = "vim-nix-rummik";

View File

@ -1,5 +1,5 @@
{
xdg.configFile."xfce4/helpers.rc".text = ''
xdg.configFile."xfce4/helpers.rc".text = /* ini */ ''
TerminalEmulator=kitty
TerminalEmulatorDismissed=true
'';