Pass inputs around instead of each individual input

This commit is contained in:
Gene Liverman 2024-12-04 21:39:03 -05:00
parent e1d4cddda0
commit eead479245
25 changed files with 27 additions and 29 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, ... }: let
{ inputs, pkgs, ... }: let
sqlite_lib = if builtins.elem pkgs.system [
"aarch64-darwin"
"x86_64-darwin"
@ -159,7 +159,7 @@ in {
oh-my-posh = {
enable = true;
enableZshIntegration = true;
settings = builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile (genebean-omp-themes + "/beanbag.omp.json")));
settings = builtins.fromJSON (builtins.unsafeDiscardStringContext (builtins.readFile (inputs.genebean-omp-themes + "/beanbag.omp.json")));
};
ripgrep.enable = true;
tmux = {

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, ... }: {
{ pkgs, ... }: {
home.packages = with pkgs; [
# nothing here right now
];

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ ... }: {
home.file = {
".config/xfce4/terminal/accels.scm".source = ../../files/xfce4/terminal/accels.scm;
};

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, sops-nix, username, ... }: {
{ username, ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, sops-nix, username, ... }: {
{ username, ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ ... }: {
home.stateVersion = "24.05";
imports = [
../../common/all-cli.nix

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, ... }: {
{ ... }: {
home.stateVersion = "24.05";
imports = [
../../common/all-cli.nix

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, ... }: {
{ ... }: {
home.stateVersion = "24.05";
imports = [
../../common/all-cli.nix

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, sops-nix, username, ... }: {
{ username, ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, ... }: {
{ ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, ... }: {
{ ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix

View file

@ -1,4 +1,4 @@
{ pkgs, genebean-omp-themes, ... }: {
{ pkgs, ... }: {
home.stateVersion = "23.11";
imports = [
../../common/all-cli.nix

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ ... }: {
system.stateVersion = 4;
homebrew = {

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ lib, modulesPath, ... }:
{
imports =

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ lib, modulesPath, ... }:
{
imports =

View file

@ -1,4 +1,4 @@
{ lib, ... }:
{ ... }:
{
disko.devices = {
disk = {

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =

View file

@ -1,4 +1,4 @@
{ compose2nix, config, pkgs, username, ... }: let
{ inputs, config, pkgs, username, ... }: let
http_port = 80;
https_port = 443;
home_domain = "home.technicalissues.us";
@ -29,7 +29,7 @@ in {
};
environment.systemPackages = with pkgs; [
compose2nix.packages.${pkgs.system}.default
inputs.compose2nix.packages.${pkgs.system}.default
docker-compose
intel-gpu-tools
jellyfin

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =

View file

@ -1,4 +1,4 @@
{ config, inputs, pkgs, username, ... }: {
{ inputs, config, pkgs, username, ... }: {
imports = [
./hardware-configuration.nix
../../../system/common/linux/flatpaks.nix

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =

View file

@ -1,4 +1,4 @@
{ config, hostname, pkgs, sops-nix, username, ... }: {
{ hostname, pkgs, username, ... }: {
imports = [
./linux/internationalisation.nix
];

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }: {
{ ... }: {
# Select internationalisation properties.
i18n = {
defaultLocale = "en_US.UTF-8";