general: post-flakes cleanup
This commit is contained in:
parent
b0b28cdc6d
commit
3925e4193a
|
@ -4,19 +4,13 @@
|
||||||
|
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
let
|
{
|
||||||
# local = import ./local.nix { inherit config pkgs lib; };
|
imports = [./cachix.nix];
|
||||||
# hostName = local.networking.hostName;
|
|
||||||
# host-config = ./machines + "/${hostName}.nix";
|
|
||||||
# optionalPath = path: lib.lists.optional (builtins.pathExists path) path;
|
|
||||||
in {
|
|
||||||
imports = [
|
|
||||||
# <home-manager/nixos>
|
|
||||||
# ./hardware-configuration.nix
|
|
||||||
# ./local.nix
|
|
||||||
./cachix.nix
|
|
||||||
]; # ++ optionalPath host-config;
|
|
||||||
|
|
||||||
|
# Temporary fixes !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
|
#
|
||||||
|
# nixos-rebuild fails with memory allocation for gzip -d
|
||||||
|
# See https://github.com/NixOS/nixpkgs/issues/124215
|
||||||
documentation.info.enable = lib.mkForce false;
|
documentation.info.enable = lib.mkForce false;
|
||||||
|
|
||||||
# Nix ######################################################################
|
# Nix ######################################################################
|
||||||
|
|
|
@ -20,22 +20,7 @@ in {
|
||||||
./modules/protonmail.nix
|
./modules/protonmail.nix
|
||||||
] ++ lib.lists.optional (pathExists host-config) host-config;
|
] ++ lib.lists.optional (pathExists host-config) host-config;
|
||||||
|
|
||||||
# nixpkgs.config = {
|
|
||||||
# allowUnfree = true;
|
|
||||||
# joypixels.acceptLicense = true;
|
|
||||||
# packageOverrides = pkgs:
|
|
||||||
# let mypkgs = import ../../nixexprs { inherit pkgs; };
|
|
||||||
# in {
|
|
||||||
# nur = import (builtins.fetchTarball
|
|
||||||
# "https://github.com/nix-community/NUR/archive/master.tar.gz") {
|
|
||||||
# inherit pkgs;
|
|
||||||
# };
|
|
||||||
# inherit (mypkgs) dart-sass;
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
home.username = "jez";
|
home.username = "jez";
|
||||||
# home.homeDirectory = h;
|
|
||||||
|
|
||||||
home.stateVersion = "20.09";
|
home.stateVersion = "20.09";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue