apply deadnix

This commit is contained in:
Vivian 2023-05-04 13:06:08 +02:00
parent 18527ccbf5
commit f534687f65
55 changed files with 67 additions and 75 deletions

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ pkgs, ... }:
{
imports = [ ];

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
{
networking.interfaces.eth0.useDHCP = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
_:
{
system.stateVersion = "22.11";
networking.interfaces.eth0.useDHCP = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, ... }:
let vs = config.vault-secrets.secrets; in
{
system.stateVersion = "22.05";

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, ... }:
let vs = config.vault-secrets.secrets; in
{
system.stateVersion = "22.05";

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
_:
{
system.stateVersion = "21.05";
networking.interfaces.eth0.useDHCP = true;

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 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, ... }:
let
vs = config.vault-secrets.secrets;
in {

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ ... }:
{
imports = [ ];

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ pkgs, ... }:
let
datadir = "/var/lib/pmm/config";
container = "meisnate12/plex-meta-manager:latest";

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
_:
{
networking.interfaces.eth0.useDHCP = true;
system.stateVersion = "22.11";
@ -7,7 +7,7 @@
enable = true;
openFirewall = true;
};
virtualisation.podman.enable = true;
virtualisation.oci-containers = {

View file

@ -1,5 +1,4 @@
{ config, pkgs, ... }:
{
_: {
system.stateVersion = "21.05";
networking.interfaces.eth0.useDHCP = true;

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
_:
{
system.stateVersion = "21.05";
networking.interfaces.eth0.useDHCP = true;

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ ... }:
{
imports = [ ];

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ pkgs, ... }:
{
imports = [ ];

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs, lib, ... }:
{ pkgs, ... }:
let
fix-vscode = pkgs.writeScriptBin "fix-vscode" ''
#!${pkgs.stdenv.shell}

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, ... }:
{ modulesPath, ... }:
{
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }: {
_: {
programs.home-manager.enable = true;
home.username = "victor";
home.homeDirectory = "/home/victor";

View file

@ -1,4 +1,4 @@
{ config, pkgs, flat_hosts, ... }:
{ config, flat_hosts, ... }:
let
inherit (builtins) filter hasAttr;
hostToKea = { hostname, mac, ip, ... }: {

View file

@ -1,4 +1,4 @@
{ config, pkgs, hosts, ... }: {
{ pkgs, ... }: {
# packages for administration tasks
environment.systemPackages = with pkgs; [ kompose kubectl k9s k3s ];

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ lib, config, pkgs, inputs, ... }:
{ lib, pkgs, ... }:
{
imports = [ ];

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, ... }:
{ config, pkgs, ... }:
let
vs = config.vault-secrets.secrets;
listenPort = 9000;

View file

@ -1,4 +1,4 @@
{ config, pkgs, nodes, ... }:
{ pkgs, ... }:
let
proxy = url: {
enableACME = true;

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ pkgs, ... }:
{
imports = [ ];

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ config, ... }:
let vs = config.vault-secrets.secrets; in
{
imports = [ ];

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, ... }:
{ pkgs, lib, ... }:
{
imports = [ ];

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, hosts, ... }: {
_: {
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ lib, config, pkgs, inputs, ... }:
{ lib, config, pkgs, ... }:
let vs = config.vault-secrets.secrets;
in {
imports = [ ];

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs, inputs, ... }: {
{ inputs, ... }: {
imports = [
../../../common/desktop
./hardware-configuration.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

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, inputs, ... }: {
{ pkgs, inputs, ... }: {
imports = [
../../../common/desktop
./hardware-configuration.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,10 +1,4 @@
{ lib, config, pkgs, inputs, ... }:
let
tex = pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-full;
dnd-5e-latex-template = { pkgs = [ pkgs.v.dnd-5e-latex-template ]; };
};
in {
_: {
programs.home-manager.enable = true;
home.username = "victor";

View file

@ -1,4 +1,4 @@
{ lib, pkgs, config, ... }:
{ pkgs, config, ... }:
let
theme = "Catppuccin-Pink-Dark";
cursorTheme = config.home.pointerCursor.name;

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, inputs, ... }:
{ pkgs, inputs, ... }:
let
nvidia-offload = pkgs.writeShellScriptBin "nvidia-offload" ''
export __NV_PRIME_RENDER_OFFLOAD=1

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, pkgs, lib, inputs, texlive, ... }:
{ config, pkgs, inputs, texlive, ... }:
let
tex = pkgs.texlive.combine {
inherit (pkgs.texlive) scheme-full;

View file

@ -1,4 +1,4 @@
{ pkgs, inputs, config, ... }: {
{ pkgs, config, ... }: {
home.file.".config/hypr/hyprpaper.conf".text = ''
ipc = off
preload = ~/cloud/Pictures/Wallpapers-Laptop/wallpaper-nix-pink.png

View file

@ -1,4 +1,4 @@
{ inputs, pkgs, lib, ... }: {
{ inputs, pkgs, ... }: {
imports = [ inputs.nixvim.homeManagerModules.nixvim ];
programs.nixvim = {
enable = true;

View file

@ -32,7 +32,7 @@ let
mantle = "292c3c";
crust = "232634";
hex = mapAttrs (name: value: "#${value}") colour;
hex = mapAttrs (_name: value: "#${value}") colour;
};
in {
home.file.".xsettingsd".text = ''