stockholm/jeschli/1systems/reagenzglas/config.nix

90 lines
2.6 KiB
Nix
Raw Normal View History

2019-09-21 06:53:51 +00:00
{ config, pkgs, ... }:
2019-09-21 06:53:51 +00:00
{
imports =
[
<stockholm/jeschli>
<stockholm/jeschli/2configs/emacs.nix>
2019-10-21 05:40:55 +00:00
<stockholm/jeschli/2configs/firefox.nix>
2019-11-09 12:59:26 +00:00
<stockholm/jeschli/2configs/rust.nix>
2019-12-11 18:30:49 +00:00
<stockholm/jeschli/2configs/haskell.nix>
2019-09-30 06:12:54 +00:00
<stockholm/jeschli/2configs/python.nix>
2020-02-11 16:52:46 +00:00
# ./desktop.nix
# ./i3-configuration.nix
2019-09-21 06:53:51 +00:00
./hardware-configuration.nix
];
# EFI systemd boot loader
boot.loader.systemd-boot.enable = true;
# Wireless network with network manager
2019-09-30 06:13:46 +00:00
krebs.build.host = config.krebs.hosts.reagenzglas;
2019-09-21 06:53:51 +00:00
# networking.hostName = "nixos"; # Define your hostname.
networking.networkmanager.enable = true;
# Allow unfree
nixpkgs.config.allowUnfree = true;
# Select internationalisation properties.
i18n = {
consoleKeyMap = "us";
defaultLocale = "en_US.UTF-8";
};
# Set your time zone.
time.timeZone = "Europe/Berlin";
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
2019-09-30 06:14:01 +00:00
ag
2019-11-09 12:59:42 +00:00
alacritty
2020-02-11 16:52:46 +00:00
google-chrome
chromium
2019-12-11 18:32:45 +00:00
copyq
2019-12-11 18:33:09 +00:00
direnv
2019-12-11 18:33:33 +00:00
go
git
rofi
vim
wget
2019-09-21 06:53:51 +00:00
];
users.users.ombi = {
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable sudo for the user.
};
users.users.jeschli = {
2019-12-20 07:56:06 +00:00
isNormalUser = true;
extraGroups = [ "audio" ];
2019-09-21 06:53:51 +00:00
};
# services.xserver.synaptics.enable = true;
services.xserver.libinput.enable = true;
services.xserver.libinput.disableWhileTyping = true;
2019-09-21 06:53:51 +00:00
2019-12-20 07:56:06 +00:00
hardware.pulseaudio.enable = true;
2019-09-21 06:53:51 +00:00
#Enable ssh daemon
services.openssh.enable = true;
2020-02-11 16:52:46 +00:00
#Enable clight
services.clight.enable = true;
services.geoclue2.enable = true;
location.provider = "geoclue2";
2019-09-21 06:53:51 +00:00
users.users.root.openssh.authorizedKeys.keys = [
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDM1xtX/SF2IzfAIzrXvH4HsW05eTBX8U8MYlEPadq0DS/nHC45hW2PSEUOVsH0UhBRAB+yClVLyN+JAYsuOoQacQqAVq9R7HAoFITdYTMJCxVs4urSRv0pWwTopRIh1rlI+Q0QfdMoeVtO2ZKG3KoRM+APDy2dsX8LTtWjXmh/ZCtpGl1O8TZtz2ZyXyv9OVDPnQiFwPU3Jqs2Z036c+kwxWlxYc55FRuqwRtQ48c/ilPMu+ZvQ22j1Ch8lNuliyAg1b8pZdOkMJF3R8b46IQ8FEqkr3L1YQygYw2M50B629FPgHgeGPMz3mVd+5lzP+okbhPJjMrUqZAUwbMGwGzZ ombi@nixos"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKFXgtbgeivxlMKkoEJ4ANhtR+LRMSPrsmL4U5grFUME jeschli@nixos"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG7C3bgoL9VeVl8pgu8sp3PCOs6TXk4R9y7JKJAHGsfm root@baeckerei"
2019-09-21 06:53:51 +00:00
];
# 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"; # Did you read the comment?
}