move config to modules
This commit is contained in:
22
config/i3.nix
Normal file
22
config/i3.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./xorg.nix
|
||||
];
|
||||
services.xserver.windowManager.i3.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
# might use picom as a compositor
|
||||
lightdm-slick-greeter
|
||||
rofi
|
||||
i3status
|
||||
i3lock
|
||||
xfce.xfce4-power-manager
|
||||
networkmanager
|
||||
networkmanagerapplet
|
||||
networkmanager-openvpn
|
||||
networkmanager-openconnect
|
||||
libnotify
|
||||
dunst
|
||||
];
|
||||
}
|
||||
27
config/locale.nix
Normal file
27
config/locale.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Berlin";
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "de_DE.UTF-8";
|
||||
|
||||
i18n.extraLocaleSettings = {
|
||||
LANGUAGE = "en_US.UTF-8";
|
||||
LC_ALL = "de_DE.UTF-8";
|
||||
LC_ADDRESS = "de_DE.UTF-8";
|
||||
LC_IDENTIFICATION = "de_DE.UTF-8";
|
||||
LC_MEASUREMENT = "de_DE.UTF-8";
|
||||
LC_MONETARY = "de_DE.UTF-8";
|
||||
LC_NAME = "de_DE.UTF-8";
|
||||
LC_NUMERIC = "de_DE.UTF-8";
|
||||
LC_PAPER = "de_DE.UTF-8";
|
||||
LC_TELEPHONE = "de_DE.UTF-8";
|
||||
LC_TIME = "de_DE.UTF-8";
|
||||
};
|
||||
services.xserver.layout = "de";
|
||||
|
||||
# Configure console keymap
|
||||
console.keyMap = "de";
|
||||
}
|
||||
11
config/xorg.nix
Normal file
11
config/xorg.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
# Enable the X11 windowing system.
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.lightdm.enable = true;
|
||||
xkbVariant = "";
|
||||
autoRepeatDelay = 200;
|
||||
autoRepeatInterval = 35;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user