Skip to content

Commit

Permalink
various changes
Browse files Browse the repository at this point in the history
  • Loading branch information
chaoflow committed Jul 23, 2013
1 parent 410c9a7 commit ba68cb1
Showing 1 changed file with 27 additions and 7 deletions.
34 changes: 27 additions & 7 deletions configuration-eve.nix
Expand Up @@ -203,6 +203,8 @@
];
};

hardware.pulseaudio.enable = true;

# Select internationalisation properties.
i18n = {
consoleFont = "lat9w-16";
Expand Down Expand Up @@ -232,7 +234,7 @@
'';
wireless.enable = true;
wireless.driver = "nl80211";
wireless.interfaces = [ "wlan0" ];
wireless.interfaces = [ "wlp2s0" ];
wireless.userControlled.enable = true;
};

Expand All @@ -249,8 +251,9 @@
xkeyboard_config = { extraLayoutPath = "./xkb-layout/chaoflow"; };
};

powerManagement.cpuFreqGovernor = "ondemand";
powerManagement.enable = true;
powerManagement.aggressive = true;
#powerManagement.aggressive = true;

users.defaultUserShell = "/var/run/current-system/sw/bin/zsh";

Expand All @@ -259,15 +262,26 @@
];

services.atd.enable = false;
services.dovecot2.enable = true;
services.dovecot2.enablePop3 = false;
services.dovecot2.mailLocation = "maildir:~/.mail";
services.dovecot2.extraConfig = ''
listen = 127.0.0.1
namespace {
separator = /
inbox = yes
}
'';
services.httpd = {
adminAddr = "flo@chaoflow.net";
enable = false;
enable = true;
enableUserDir = true;
};
services.locate.enable = true;
services.nixosManual.showManual = false;
services.openssh.enable = true;
services.openssh.enable = false;
services.printing.enable = true;
services.printing.drivers = [ pkgs.foomatic_filters ];
services.postfix = {
destination = [ "localhost" "eve.chaoflow.net" ];
enable = true;
Expand All @@ -286,7 +300,8 @@
#
# the nixos config option does not allow to specify a port, beware:
# small 'h' in contrast to the config option with capital 'H'
relayhost = [tesla.chaoflow.net]:submission
relayhost = [0x2c.org]:submission
#relayhost = [127.0.0.1]:1587
#
#XXX: needs server certificate checking
#smtp_enforce_tls = yes
Expand All @@ -313,7 +328,9 @@
postmasterAlias = "root";
rootAlias = "cfl";
};
services.thinkfan.enable = true;
services.ttyBackgrounds.enable = false;
services.udisks.enable = true;
services.xserver = {
autorun = true;
# no desktop manager, no window manager configured here. This
Expand All @@ -323,7 +340,7 @@
desktopManager.xterm.enable = false;
displayManager.slim = {
defaultUser = "cfl";
hideCursor = true;
#hideCursor = true;
};
enable = true;
exportConfiguration = true;
Expand All @@ -336,8 +353,11 @@
# List swap partitions that are mounted at boot time.
#swapDevices = [{ label = "swap"; }];

#time.timeZone = "Asia/Hong_Kong";
time.timeZone = "Europe/Berlin";
#time.timeZone = "US/Eastern";
#time.timeZone = "US/Pacific";

# not supported with stock nixos yet
trackpoint.sensitivity = "255";
#trackpoint.sensitivity = "255";
}

0 comments on commit ba68cb1

Please sign in to comment.