mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-06-25 04:02:11 +02:00
chore: Run nix fmt
Also removed an unnecessary variable and added syntax highlighting.
This commit is contained in:
parent
1e6188cc45
commit
7f60479a90
@ -53,13 +53,17 @@
|
|||||||
then callPackage ./${directory}/${file} { }
|
then callPackage ./${directory}/${file} { }
|
||||||
else
|
else
|
||||||
if directory == "tests"
|
if directory == "tests"
|
||||||
then import ./${directory}/${file} {
|
then
|
||||||
|
import ./${directory}/${file}
|
||||||
|
{
|
||||||
inherit self;
|
inherit self;
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
if directory == "hardware"
|
if directory == "hardware"
|
||||||
then nixosSystem {
|
then
|
||||||
|
nixosSystem
|
||||||
|
{
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = attrs // { nix-config = self; };
|
specialArgs = attrs // { nix-config = self; };
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -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…
x
Reference in New Issue
Block a user