nix-conf/systems/x86_64-linux/kami/default.nix

74 lines
1.7 KiB
Nix
Raw Normal View History

2023-02-24 17:34:42 +01:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
2023-02-23 20:34:35 +01:00
2023-02-24 17:34:42 +01:00
{ config, pkgs, ... }:
2023-02-23 20:34:35 +01:00
2023-02-24 17:34:42 +01:00
{
imports =
[ # Include the results of the hardware scan.
./hardware.nix
];
2023-02-23 20:34:35 +01:00
2023-02-24 17:34:42 +01:00
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot/efi";
2023-02-23 20:34:35 +01:00
networking.hostName = "kami";
2023-02-24 18:39:53 +01:00
networking.networkmanager.enable = true;
2023-02-24 17:34:42 +01:00
2023-02-23 20:34:35 +01:00
time.timeZone = "Europe/Berlin";
2023-02-24 17:34:42 +01:00
i18n.defaultLocale = "en_NZ.UTF-8";
i18n.extraLocaleSettings = {
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";
};
console = {
keyMap = "de";
};
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.layout = "de";
2023-02-23 20:34:35 +01:00
2023-02-24 17:34:42 +01:00
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
services.xserver.videoDrivers = [ "nvidia" ];
2023-02-23 20:34:35 +01:00
hardware.opengl.enable = true;
2023-02-24 17:34:42 +01:00
2023-02-24 17:19:53 +01:00
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
2023-02-24 18:39:53 +01:00
2023-02-24 16:03:52 +01:00
boot.kernelParams = [ "module_blacklist=i915" ];
2023-02-24 18:39:53 +01:00
2023-02-24 17:34:42 +01:00
environment.systemPackages = with pkgs; [
2023-02-24 18:33:14 +01:00
git
2023-02-24 17:34:42 +01:00
];
2023-02-23 20:34:35 +01:00
2023-02-24 18:39:53 +01:00
# Migrated Stuff
custom.user.jopejoe1.enable =true;
custom.user.root.enable =true;
programs.dconf.enable = true;
2023-02-23 20:34:35 +01:00
}
2023-02-24 17:34:42 +01:00