switch to using specialArgs for inputs

made dummy option for deadnix to shutup about disko

update flake.lock

stopped using neovim overlay
This commit is contained in:
Gerg-L 2023-05-17 22:03:25 -04:00
parent a3e18f9a36
commit 0d2e560191
36 changed files with 162 additions and 164 deletions

View file

@ -1,13 +1,13 @@
{suckless, ...}: {
{
inputs,
pkgs,
config,
options,
lib,
self,
...
}: let
cfg = config.localModules.DE.dwm;
sp = suckless.packages.${pkgs.system};
sp = inputs.suckless.packages.${pkgs.system};
in {
options.localModules.DE.dwm = {
enable = lib.mkEnableOption "";

View file

@ -1,7 +1,6 @@
_: {
{
config,
lib,
options,
pkgs,
...
}: let

View file

@ -1,7 +1,6 @@
_: {
{
config,
lib,
options,
...
}: let
cfg = config.localModules.DE.xfce;

View file

@ -1,7 +1,6 @@
_: {
{
config,
lib,
options,
...
}: let
cfg = config.localModules.DM.autoLogin;

View file

@ -1,7 +1,6 @@
_: {
{
config,
lib,
options,
self,
...
}: let

View file

@ -1,8 +1,4 @@
_: {
options,
lib,
...
}: {
{lib, ...}: {
options.localModules.DM.loginUser = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;

View file

@ -1,7 +1,6 @@
_: {
{
config,
pkgs,
options,
lib,
...
}: let

View file

@ -1,4 +1,4 @@
_: {
{
self,
lib,
...

View file

@ -1,4 +1,4 @@
_: {
{
environment.etc = {
"issue" = {
text = "[?12l[?25h";

View file

@ -1,4 +1,5 @@
{unstable, ...}: {
{
inputs,
lib,
config,
pkgs,
@ -8,7 +9,7 @@
bootStage2 = pkgs.substituteAll {
src = pkgs.runCommand "stage-2-init.sh" {} ''
sed '2i exec 1<>/dev/null' ${unstable}/nixos/modules/system/boot/stage-2-init.sh > $out
sed '2i exec 1<>/dev/null' ${inputs.unstable}/nixos/modules/system/boot/stage-2-init.sh > $out
'';
shellDebug = "${pkgs.bashInteractive}/bin/bash";
shell = "${pkgs.bash}/bin/bash";

View file

@ -1,7 +1,6 @@
_: {
{
config,
lib,
options,
...
}: {
options.localModules.remoteBuild = {

View file

@ -1,6 +1,5 @@
_: {
{
pkgs,
options,
config,
lib,
...

View file

@ -1,6 +1,5 @@
_: {
{
config,
options,
lib,
...
}: let

View file

@ -1,16 +1,24 @@
_: {lib, ...}: {
#enable ssh
programs.mtr.enable = true; #ping and traceroute
services.openssh = {
enable = true;
hostKeys = lib.mkForce [];
settings = {
PermitRootLogin = "yes";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
{lib, ...}: {
options = {
dummyvalue = lib.mkOption {
default = {};
type = lib.configType;
};
};
i18n.defaultLocale = "en_US.UTF-8";
#time settings
time.timeZone = "America/New_York";
config = {
#enable ssh
programs.mtr.enable = true; #ping and traceroute
services.openssh = {
enable = true;
hostKeys = lib.mkForce [];
settings = {
PermitRootLogin = "yes";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
};
};
i18n.defaultLocale = "en_US.UTF-8";
#time settings
time.timeZone = "America/New_York";
};
}

View file

@ -1,6 +1,6 @@
inputs: {
{
inputs,
lib,
pkgs,
self,
...
}: let
@ -9,7 +9,7 @@ inputs: {
#filter non-flakes from inputs
lib.filterAttrs (
_: value: (
!(lib.hasAttrByPath ["flake"] value) || value.flake == false
!(lib.hasAttrByPath ["flake"] value) || !value.flake
)
)
inputs

View file

@ -1,4 +1,4 @@
_: {pkgs, ...}: {
{pkgs, ...}: {
environment = {
defaultPackages = []; #don't install anything by default
systemPackages = [

View file

@ -1,4 +1,5 @@
{fetch-rs, ...}: {
{
inputs,
pkgs,
config,
...
@ -13,8 +14,7 @@
pkgs.exa
pkgs.direnv
pkgs.nix-direnv
pkgs.neovim
fetch-rs.packages.${pkgs.system}.default
inputs.fetch-rs.packages.${pkgs.system}.default
];
binsh = "${pkgs.dash}/bin/dash"; #use dash for speed
variables = {

View file

@ -1,11 +1,12 @@
{sops-nix, ...}: {
{
inputs,
pkgs,
self,
config,
...
}: {
imports = [
sops-nix.nixosModules.sops
inputs.sops-nix.nixosModules.sops
];
environment.systemPackages = [
pkgs.sops

View file

@ -1,6 +1,5 @@
{stable, ...}: {
{
pkgs,
options,
config,
lib,
...
@ -25,7 +24,7 @@ in {
[Settings]
gtk-cursor-theme-name=Quintom_Ink
gtk-cursor-theme-size=16
gtk-font-name = "Overpass Nerd Font 10"
gtk-font-name = "Overpass 10"
gtk-icon-theme-name=Flat-Remix-Blue-Dark
gtk-theme-name=Flat-Remix-GTK-Blue-Darkest
'';
@ -33,14 +32,14 @@ in {
[Settings]
gtk-cursor-theme-name=Quintom_Ink
gtk-cursor-theme-size=16
gtk-font-name = "Overpass Nerd Font 10"
gtk-font-name = "Overpass 10"
gtk-icon-theme-name=Flat-Remix-Blue-Dark
gtk-theme-name=Flat-Remix-GTK-Blue-Darkest
'';
"xdg/gtk-2.0/gtkrc".text = ''
gtk-cursor-theme-name = "Quintom_Ink"
gtk-cursor-theme-size = 16
gtk-font-name = "Overpass Nerd Font 10"
gtk-font-name = "Overpass 10"
gtk-icon-theme-name = "Flat-Remix-Blue-Dark"
gtk-theme-name = "Flat-Remix-GTK-Blue-Darkest"
'';
@ -59,20 +58,15 @@ in {
xrdb -load /etc/xdg/Xresources
'';
fonts = {
fonts = [
(stable.legacyPackages.${pkgs.system}.nerdfonts.override
{
fonts = ["Overpass"];
})
];
fonts = [pkgs.overpass];
enableDefaultFonts = false;
fontDir.enable = true;
fontconfig = {
enable = true;
defaultFonts = {
serif = ["Overpass Nerd Font"];
sansSerif = ["Overpass Nerd Font"];
monospace = ["OverpassMono Nerd Font"];
serif = ["Overpass"];
sansSerif = ["Overpass"];
monospace = ["Overpass Mono"];
};
hinting.enable = true;
antialias = true;
@ -89,7 +83,7 @@ in {
'';
fonts = [
{
name = "OverpassMono Nerd Font";
name = "OverpassMono";
package =
pkgs.nerdfonts.override
{

View file

@ -1,4 +1,4 @@
_: {
{
config,
lib,
...