mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 01:33:17 +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} { }
|
then callPackage ./${directory}/${file} { }
|
||||||
else
|
else
|
||||||
if directory == "tests"
|
if directory == "tests"
|
||||||
then import ./${directory}/${file} {
|
then
|
||||||
inherit self;
|
import ./${directory}/${file}
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
{
|
||||||
}
|
inherit self;
|
||||||
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
}
|
||||||
else
|
else
|
||||||
if directory == "hardware"
|
if directory == "hardware"
|
||||||
then nixosSystem {
|
then
|
||||||
system = "x86_64-linux";
|
nixosSystem
|
||||||
specialArgs = attrs // { nix-config = self; };
|
{
|
||||||
modules = [
|
system = "x86_64-linux";
|
||||||
./.
|
specialArgs = attrs // { nix-config = self; };
|
||||||
./${directory}/${file}
|
modules = [
|
||||||
];
|
./.
|
||||||
}
|
./${directory}/${file}
|
||||||
|
];
|
||||||
|
}
|
||||||
else import ./${directory}/${file};
|
else import ./${directory}/${file};
|
||||||
})
|
})
|
||||||
(attrNames (readDir ./${directory}))));
|
(attrNames (readDir ./${directory}))));
|
||||||
|
@ -4,7 +4,6 @@ let
|
|||||||
inherit (pkgs) fetchFromGitHub vimPlugins;
|
inherit (pkgs) fetchFromGitHub vimPlugins;
|
||||||
inherit (pkgs.vimUtils) buildVimPlugin;
|
inherit (pkgs.vimUtils) buildVimPlugin;
|
||||||
inherit (config.lib.stylix.scheme) slug;
|
inherit (config.lib.stylix.scheme) slug;
|
||||||
inherit (config.xdg.userDirs) documents;
|
|
||||||
|
|
||||||
vim-nix-rummik = buildVimPlugin {
|
vim-nix-rummik = buildVimPlugin {
|
||||||
pname = "vim-nix-rummik";
|
pname = "vim-nix-rummik";
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
xdg.configFile."xfce4/helpers.rc".text = ''
|
xdg.configFile."xfce4/helpers.rc".text = /* ini */ ''
|
||||||
TerminalEmulator=kitty
|
TerminalEmulator=kitty
|
||||||
TerminalEmulatorDismissed=true
|
TerminalEmulatorDismissed=true
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user