mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
idk it's funny
This commit is contained in:
parent
22de7361dd
commit
4f8c86858a
32 changed files with 127 additions and 79 deletions
|
|
@ -1,4 +1,8 @@
|
|||
{ suckless, self, ... }:
|
||||
{
|
||||
suckless,
|
||||
self,
|
||||
_file,
|
||||
}:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
|
|
@ -121,5 +125,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
_:
|
||||
{ _file }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
|
|
@ -50,5 +50,5 @@ _:
|
|||
};
|
||||
};
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
_:
|
||||
{ _file }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
|
|
@ -21,5 +21,5 @@ _:
|
|||
displayManager.defaultSession = "xfce";
|
||||
};
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
_:
|
||||
{ _file }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
options.local.DM = {
|
||||
|
|
@ -17,5 +17,5 @@ _:
|
|||
};
|
||||
};
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ self, ... }:
|
||||
{ self, _file }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
options.local.DM.lightdm.enable = lib.mkEnableOption "";
|
||||
|
|
@ -41,5 +41,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
_:
|
||||
{ _file }:
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
services.xserver = {
|
||||
|
|
@ -9,5 +9,5 @@ _:
|
|||
excludePackages = [ pkgs.xterm ];
|
||||
desktopManager.xterm.enable = false;
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ self, ... }:
|
||||
{ self, _file }:
|
||||
{
|
||||
lib,
|
||||
pkgs,
|
||||
|
|
@ -68,5 +68,5 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
_:
|
||||
{ _file }:
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
options.local.remoteBuild = {
|
||||
|
|
@ -97,5 +97,5 @@ _:
|
|||
}
|
||||
)
|
||||
];
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
_:
|
||||
{ _file }:
|
||||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.local.hardware;
|
||||
|
|
@ -41,5 +41,5 @@ in
|
|||
};
|
||||
}
|
||||
];
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
_:
|
||||
{ _file }:
|
||||
{ lib, ... }:
|
||||
{
|
||||
options.local.keys = lib.mkOption { };
|
||||
|
|
@ -12,5 +12,5 @@ _:
|
|||
gerg-desktop_fingerprint = "BQxvBOWsTw1gdNDR0KzrSRmbVhDrJdG05vYXkVmw8yA";
|
||||
gerg_gerg-desktop = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJWbwkFJmRBgyWyWU+w3ksZ+KuFw9uXJN3PwqqE7Z/i8";
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
_:
|
||||
{ _file }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
|
|
@ -68,5 +68,5 @@ _:
|
|||
# Useless with flakes (without configuring)
|
||||
programs.command-not-found.enable = false;
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
inputs':
|
||||
{
|
||||
nix,
|
||||
inputs,
|
||||
_file,
|
||||
}:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
|
|
@ -9,10 +13,10 @@ inputs':
|
|||
#
|
||||
# Flake registry and $NIX_PATH pinning
|
||||
#
|
||||
nix.registry = lib.pipe inputs' [
|
||||
nix.registry = lib.pipe inputs [
|
||||
(lib.filterAttrs (_: lib.isType "flake"))
|
||||
(lib.mapAttrs (_: flake: { inherit flake; }))
|
||||
(x: x // { nixpkgs.flake = inputs'.unstable; })
|
||||
(x: x // { nixpkgs.flake = inputs.unstable; })
|
||||
];
|
||||
|
||||
environment.etc = lib.mapAttrs' (name: value: {
|
||||
|
|
@ -27,7 +31,7 @@ inputs':
|
|||
#
|
||||
# Use nix directly from master
|
||||
#
|
||||
nix.package = inputs'.nix.packages.default.overrideAttrs (old: {
|
||||
nix.package = nix.packages.default.overrideAttrs (old: {
|
||||
patches = old.patches or [ ] ++ [
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/NixOS/nix/commit/b6ae3be9c6ec4e9de55479188e76fc330b2304dd.patch";
|
||||
|
|
@ -69,5 +73,5 @@ inputs':
|
|||
#
|
||||
reject-flake-config = true;
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ fetch-rs, ... }:
|
||||
{ fetch-rs, _file }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
|
|
@ -160,5 +160,5 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
{ sops-nix, self, ... }:
|
||||
{
|
||||
sops-nix,
|
||||
self,
|
||||
_file,
|
||||
}:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
|
|
@ -15,5 +19,5 @@
|
|||
age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||
};
|
||||
};
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
_:
|
||||
{ _file }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
|
|
@ -98,5 +98,5 @@ in
|
|||
};
|
||||
})
|
||||
];
|
||||
#_file
|
||||
inherit _file;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue