applied deadnix

pull/58/head
Tudor Roman 2024-01-28 15:33:57 +01:00
parent 8d83b68d57
commit 9f089dee03
Signed by: tudor
SSH Key Fingerprint: SHA256:3CwS9plgXBecpXImPGxDIaSktUXBejbV/zerZMqzzBk
18 changed files with 17 additions and 22 deletions

View File

@ -70,7 +70,6 @@
, pre-commit-hooks
, nixpkgs
, deploy-rs
, unstable
, flake-parts
, home-manager
, ... }:
@ -172,7 +171,7 @@
checks."x86_64-linux" = deployPkgs."x86_64-linux".deploy-rs.lib.deployChecks self.deploy;
};
perSystem = {config, pkgs, system, self', ... }: {
perSystem = { pkgs, system, self', ... }: {
packages.default = pkgs.nix;
packages.nixos-rebuild = pkgs.nixos-rebuild;

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ...}:
{ pkgs, lib, ...}:
{
boot.initrd.availableKernelModules = [ "ata_generic" "uhci_hcd" "ehci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];

View File

@ -1,4 +1,4 @@
{ config, flake, vars, ... }:
{ config, flake, ... }:
let
username = "tudor";
in {

View File

@ -6,7 +6,7 @@ in {
inherit system;
overlays = [
deploy-rs.overlay
(self: super: {
(_self: super: {
deploy-rs = {
inherit (nixpkgs.legacyPackages."${system}") deploy-rs;
lib = super.deploy-rs.lib;

View File

@ -5,7 +5,7 @@
};
mkDefaultOverlays = { system }: [
(final: prev: {
(final: _prev: {
unstable = import inputs.unstable {
inherit system;
inherit (final) config;

View File

@ -3,7 +3,6 @@
with lib;
let
cfg = config.homeModules.shell.bash;
direnvCfg = config.homeModules.tools.direnv;
opCfg = config.homeModules.tools.op;
in
{

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, inputs, ... }:
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.homeModules.tools.base;

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ config, lib, ... }:
with lib;
let
cfg = config.homeModules.tools.direnv;

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, lib, ... }:
let
cfg = config.homeModules.tools.neovim;
in

View File

@ -1,4 +1,4 @@
{ config, options, pkgs, lib, ... }:
{ config, options, lib, ... }:
let
cfg = config.homeModules.tools.tmux;
in

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, inputs, ... }:
{ config, lib, pkgs, ... }:
with lib;
let

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, ... }:
{ lib, pkgs, ... }:
{
environment.variables = {
NIX_LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, lib, ... }:
let
cfg = config.systemModules.services.ipforward;
in

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, lib, ... }:
let
cfg = config.systemModules.services.ssh;
in

View File

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, lib, ... }:
let
cfg = config.systemModules.services.tailscale;
in

View File

@ -1,4 +1,4 @@
{ config, lib, pkgs, vars, ...}:
{ config, lib, pkgs, ...}:
let
cfg = config.systemModules.services.web.cgit;
readmeFile = ./cgit-root-readme.md;

View File

@ -1,8 +1,5 @@
{ pkgs, inputs, vars, ... }:
{ inputs, vars, ... }:
let
hm = inputs.home-manager.lib.hm;
in
{
imports = [
../../modules/home-manager

View File

@ -1,4 +1,4 @@
{ config, options, lib, pkgs, inputs, vars, ... }:
{ config, ... }:
{
imports = [
../_all