Auto import files instead of maintaining file list.
This commit is contained in:
parent
081d10bc21
commit
c543303ab9
15 changed files with 12 additions and 99 deletions
|
@ -1,10 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
services.cron.enable = false;
|
||||
programs.gnome-terminal.enable = true;
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ with lib;
|
|||
|
||||
{
|
||||
imports = [
|
||||
../../options/machine.nix
|
||||
../../options/copySysConf.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@ let
|
|||
cfg = config.machine;
|
||||
in {
|
||||
imports = [
|
||||
../../options/machine.nix
|
||||
../../options/mailman3/options.nix
|
||||
];
|
||||
|
||||
|
|
|
@ -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%} '";
|
||||
|
|
|
@ -3,10 +3,6 @@
|
|||
with lib;
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../options/machine.nix
|
||||
];
|
||||
|
||||
config.machine = rec {
|
||||
hostName = "DavidsServer";
|
||||
administrators = [ { name = "david"; id = 1000; } ];
|
||||
|
|
|
@ -1,10 +1,6 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
programs.gnome-terminal.enable = true;
|
||||
services.cron.enable = false;
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ with lib;
|
|||
|
||||
{
|
||||
imports = [
|
||||
../../options/machine.nix
|
||||
../../options/copySysConf.nix
|
||||
];
|
||||
config.machine = {
|
||||
|
|
|
@ -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";
|
||||
|
||||
}
|
||||
|
|
|
@ -6,7 +6,6 @@ let
|
|||
cfg = config.machine;
|
||||
in {
|
||||
imports = [
|
||||
../../options/machine.nix
|
||||
../../options/mailman3/options.nix
|
||||
];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue