mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
_file solution and funny function arg reading
This commit is contained in:
parent
6432f7b69e
commit
e1a0456ee0
32 changed files with 70 additions and 107 deletions
|
|
@ -1,4 +1,3 @@
|
|||
{ _file }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
programs.git = {
|
||||
|
|
@ -30,5 +29,4 @@
|
|||
commit.gpgsign = true;
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,10 +1,12 @@
|
|||
{
|
||||
|
||||
nix-index-database,
|
||||
nvim-flake,
|
||||
self,
|
||||
_file,
|
||||
self',
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
local = {
|
||||
remoteBuild.isBuilder = true;
|
||||
|
|
@ -97,7 +99,7 @@
|
|||
#qmk
|
||||
;
|
||||
inherit (nvim-flake.packages) neovim;
|
||||
inherit (self.packages) lint;
|
||||
inherit (self'.packages) lint;
|
||||
|
||||
librewolf = pkgs.librewolf.override { cfg.speechSynthesisSupport = false; };
|
||||
nixpkgs-review = pkgs.nixpkgs-review.override { nix = config.nix.package; };
|
||||
|
|
@ -194,5 +196,4 @@
|
|||
};
|
||||
|
||||
system.stateVersion = "23.05";
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
{ _file }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
sops.secrets.cloudflare = { };
|
||||
|
|
@ -84,5 +83,4 @@
|
|||
func "nix-fu.com" "cc2df9163c3730f58b866409ac5a108c"
|
||||
'';
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
{ _file }:
|
||||
#{ config, ... }:
|
||||
{
|
||||
# users.users = {
|
||||
|
|
@ -30,5 +29,4 @@
|
|||
createDatabase = true;
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
{ _file, self }:
|
||||
{ lib, ... }:
|
||||
{ self', lib, ... }:
|
||||
{
|
||||
# I manually switch this sometimes
|
||||
config = lib.mkIf false {
|
||||
|
|
@ -35,7 +34,7 @@
|
|||
"network.target"
|
||||
"minecraft-server.socket"
|
||||
];
|
||||
path = [ self.packages.papermc ];
|
||||
path = [ self'.packages.papermc ];
|
||||
script = ''
|
||||
minecraft-server \
|
||||
-Xms8G \
|
||||
|
|
@ -100,5 +99,4 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
{ _file }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
|
|
@ -97,5 +96,4 @@
|
|||
${config.services.nginx.user}.extraGroups = [ "miniflux" ];
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
{ _file }:
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
sops.secrets.nextcloud.owner = "nextcloud";
|
||||
|
|
@ -24,5 +23,4 @@
|
|||
default_phone_region = "US";
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
{ _file }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
sops.secrets =
|
||||
|
|
@ -65,5 +64,4 @@
|
|||
80
|
||||
443
|
||||
];
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
{ _file }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
|
|
@ -22,5 +21,4 @@
|
|||
RestartSec = "30s";
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
{ _file }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.postgresql = {
|
||||
|
|
@ -19,5 +18,4 @@
|
|||
|
||||
settings.unix_socket_permissions = "0770";
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
{ _file }:
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
sops.secrets.searxngenv = { };
|
||||
|
|
@ -36,5 +35,4 @@
|
|||
ui.theme_args.simple_style = "dark";
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ spicetify-nix, _file }:
|
||||
{ spicetify-nix, ... }:
|
||||
let
|
||||
spicePkgs = spicetify-nix.legacyPackages;
|
||||
in
|
||||
|
|
@ -37,5 +37,4 @@ in
|
|||
misc = "282a36";
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
{ _dir, _file }:
|
||||
{
|
||||
_dir,
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
/*
|
||||
|
|
@ -187,5 +186,4 @@ in
|
|||
);
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{ lanzaboote, _file }:
|
||||
{
|
||||
lanzaboote,
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
|
|
@ -86,5 +86,4 @@
|
|||
efi.efiSysMountPoint = "/efi";
|
||||
};
|
||||
};
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue