Clean up in accordance with unofficial nix-linter.
This commit is contained in:
parent
cfa7222f4d
commit
0ddcaf4085
34 changed files with 49 additions and 75 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
nixpkgs.config = {
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
{ stable ? import <nixos-stable>,
|
||||
unstable ? import <nixos-unstable>,
|
||||
gitpkgs ? import /nixpkgs/default.nix,
|
||||
config, lib, pkgs, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
let
|
||||
cfg = config.machine;
|
||||
optPkgs = package: pkgstring: optionals (elem pkgstring cfg.pkgs) package;
|
||||
gitpkgs = import /nixpkgs/default.nix {};
|
||||
gitpkgs = import /nixpkgs {};
|
||||
|
||||
# Programms I'm likely to want on every machine and/or may execute as root
|
||||
base = with pkgs; [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue