-
-
Save disassembler/94a957dc75be7c22b2ad6f87e65bd17e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Edit this configuration file to define what should be installed on | |
# 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, fetchgit, ... }: | |
let | |
parameters = import ./parameters.nix; | |
profiles = (import ./modules); | |
in { | |
imports = | |
[ # Include the results of the hardware scan. | |
(./hardware-configurations + "/${parameters.machine}.nix") | |
# Machine specific config | |
( | |
import (./machines + "/${parameters.machine}.nix") { | |
inherit lib; | |
inherit config; | |
inherit pkgs; | |
inherit parameters; | |
} | |
) | |
] ++ profiles.profiles; | |
profiles.zsh.enable = true; | |
#profiles.passopolis.enable = true; | |
#profiles.etcd.enable = true; | |
attributes.private = parameters; | |
users.extraUsers.sam = { | |
openssh.authorizedKeys.keys = parameters.sam_ssh_keys; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment