-
-
Save disassembler/bd6443c5241200b97516b10b6b4bf388 to your computer and use it in GitHub Desktop.
This file contains hidden or 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; | |
| custom_modules = (import ./modules/modules-list.nix); | |
| 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; | |
| } | |
| ) | |
| ] ++ custom_modules; | |
| 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