added
This commit is contained in:
commit
0b1434affb
48
configuration.nix
Normal file
48
configuration.nix
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
{ 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;
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user