49 lines
1.1 KiB
Nix
49 lines
1.1 KiB
Nix
|
{ config, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
# Import other configuration modules
|
||
|
# (hardware-configuration.nix is autogenerated upon installation)
|
||
|
# paths in nix expressions are always relative the file which defines them
|
||
|
imports =
|
||
|
[
|
||
|
./hardware-configuration.nix
|
||
|
./my-dev-tools.nix
|
||
|
./my-desktop-env.nix
|
||
|
./etc.nix
|
||
|
];
|
||
|
|
||
|
# Name your host machine
|
||
|
networking.hostName = "desktop.cyperpunk.de";
|
||
|
|
||
|
# Set your time zone.
|
||
|
time.timeZone = "Europe/Berlin";
|
||
|
|
||
|
# Enter keyboard layout
|
||
|
services.xserver.layout = "de";
|
||
|
services.xserver.xkbVariant = "altgr-intl";
|
||
|
|
||
|
# Define user accounts
|
||
|
users.extraUsers =
|
||
|
{
|
||
|
phil =
|
||
|
{
|
||
|
extraGroups = [ "wheel" "networkmanager" ];
|
||
|
isNormalUser = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
# Install some packages
|
||
|
environment.systemPackages =
|
||
|
with pkgs;
|
||
|
[
|
||
|
ddate
|
||
|
testdisk
|
||
|
fish
|
||
|
zsh
|
||
|
];
|
||
|
|
||
|
# Enable the OpenSSH daemon
|
||
|
services.openssh.enable = true;
|
||
|
|
||
|
}
|