Auto import files instead of maintaining file list.

This commit is contained in:
Kevin Baensch 2020-03-29 09:10:14 +02:00
parent 081d10bc21
commit c543303ab9
Signed by: derped
GPG key ID: C0F1D326C7626543
15 changed files with 12 additions and 99 deletions

View file

@ -1,10 +1,6 @@
{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
services.cron.enable = false;
programs.gnome-terminal.enable = true;

View file

@ -4,7 +4,6 @@ with lib;
{
imports = [
../../options/machine.nix
../../options/copySysConf.nix
];

View file

@ -3,10 +3,6 @@
# and in the NixOS manual (accessible by running nixos-help).
{
imports = [
./hardware-configuration.nix
];
system.autoUpgrade.enable = false;
services.haveged.enable = true;
@ -15,5 +11,4 @@
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "19.03";
}

View file

@ -6,7 +6,6 @@ let
cfg = config.machine;
in {
imports = [
../../options/machine.nix
../../options/mailman3/options.nix
];

View file

@ -3,10 +3,6 @@
# and in the NixOS manual (accessible by running nixos-help).
{
imports = [
./hardware-configuration.nix
];
system.autoUpgrade.enable = false;
programs.zsh.promptInit = "PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[magenta]%}%n@)%m %{$fg_bold[green]%}%(!.%1~.%~) $(git_prompt_info)%_$(prompt_char)%{$reset_color%} '";

View file

@ -3,10 +3,6 @@
with lib;
{
imports = [
../../options/machine.nix
];
config.machine = rec {
hostName = "DavidsServer";
administrators = [ { name = "david"; id = 1000; } ];

View file

@ -1,10 +1,6 @@
{ pkgs, ... }:
{
imports = [
./hardware-configuration.nix
];
programs.gnome-terminal.enable = true;
services.cron.enable = false;

View file

@ -4,7 +4,6 @@ with lib;
{
imports = [
../../options/machine.nix
../../options/copySysConf.nix
];
config.machine = {

View file

@ -3,10 +3,6 @@
# and in the NixOS manual (accessible by running nixos-help).
{
imports = [
./hardware-configuration.nix
];
system.autoUpgrade.enable = false;
# services.vsftp = {
@ -18,10 +14,10 @@
# };
services.haveged.enable = true;
programs.zsh.promptInit = "PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[cyan]%}%n@)%m %{$fg_bold[magenta]%}%(!.%1~.%~) $(git_prompt_info)%_$(prompt_char)%{$reset_color%} '";
# This value determines the NixOS release with which your system is to be
# compatible, in order to avoid breaking some software such as database
# servers. You should change this only after NixOS release notes say you
# should.
system.stateVersion = "19.03";
}

View file

@ -6,7 +6,6 @@ let
cfg = config.machine;
in {
imports = [
../../options/machine.nix
../../options/mailman3/options.nix
];