mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-24 17:23:09 +01:00
chore: Run nix fmt
Also removed an unnecessary variable and added syntax highlighting.
This commit is contained in:
parent
1e6188cc45
commit
7f60479a90
28
flake.nix
28
flake.nix
@ -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}))));
|
||||
|
@ -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";
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
xdg.configFile."xfce4/helpers.rc".text = ''
|
||||
xdg.configFile."xfce4/helpers.rc".text = /* ini */ ''
|
||||
TerminalEmulator=kitty
|
||||
TerminalEmulatorDismissed=true
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user