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
|
|
|
|
|
|
|
|
|
networking.hostName = "kami";
|
2023-02-27 19:42:34 +01:00
|
|
|
|
networking.hostId = "16c22faf";
|
2023-02-23 20:34:35 +01:00
|
|
|
|
|
2023-03-05 01:31:27 +01:00
|
|
|
|
boot.supportedFilesystems = [ "ntfs" "btrfs" ];
|
2023-02-27 18:59:09 +01:00
|
|
|
|
|
2023-03-05 00:57:08 +01:00
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_zen;
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
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-27 17:56: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-03-01 17:29:13 +01:00
|
|
|
|
prismlauncher
|
2023-03-01 22:41:04 +01:00
|
|
|
|
libsForQt5.discover
|
2023-03-03 11:57:52 +01:00
|
|
|
|
knossos
|
2023-02-24 17:34:42 +01:00
|
|
|
|
];
|
2023-02-23 20:34:35 +01:00
|
|
|
|
|
2023-02-28 11:38:09 +01:00
|
|
|
|
services.hardware.openrgb.enable = true;
|
|
|
|
|
services.hardware.openrgb.motherboard = "intel";
|
|
|
|
|
|
2023-03-01 22:15:46 +01:00
|
|
|
|
hardware.nvidia.modesetting.enable = true;
|
2023-03-01 22:56:25 +01:00
|
|
|
|
hardware.steam-hardware.enable = true;
|
2023-03-01 22:15:46 +01:00
|
|
|
|
|
2023-03-01 22:36:08 +01:00
|
|
|
|
services.flatpak.enable = true;
|
2023-03-02 17:15:49 +01:00
|
|
|
|
hardware.bluetooth.enable = true;
|
|
|
|
|
hardware.bluetooth.hsphfpd.enable = true;
|
|
|
|
|
hardware.bluetooth.powerOnBoot = true;
|
2023-03-01 22:36:08 +01:00
|
|
|
|
|
2023-02-27 16:48:08 +01:00
|
|
|
|
programs = {
|
|
|
|
|
dconf.enable = true;
|
|
|
|
|
droidcam.enable = true;
|
|
|
|
|
sysdig.enable = true;
|
|
|
|
|
xwayland.enable = true;
|
2023-03-01 22:20:57 +01:00
|
|
|
|
kdeconnect.enable = true;
|
2023-03-01 22:56:25 +01:00
|
|
|
|
steam = {
|
|
|
|
|
enable = true;
|
|
|
|
|
remotePlay.openFirewall = true;
|
|
|
|
|
dedicatedServer.openFirewall = true;
|
|
|
|
|
};
|
2023-02-27 16:48:08 +01:00
|
|
|
|
};
|
|
|
|
|
|
2023-02-24 18:39:53 +01:00
|
|
|
|
# Migrated Stuff
|
|
|
|
|
custom.user.jopejoe1.enable =true;
|
|
|
|
|
custom.user.root.enable =true;
|
2023-02-27 16:33:13 +01:00
|
|
|
|
custom.system.locale.enable = true;
|
|
|
|
|
custom.system.locale.layout = "de";
|
2023-02-27 16:37:32 +01:00
|
|
|
|
custom.nix.enable = true;
|
2023-02-27 16:40:45 +01:00
|
|
|
|
custom.desktop.plasma.enable = true;
|
2023-02-27 16:44:11 +01:00
|
|
|
|
custom.system.boot.uefi.enable = true;
|
|
|
|
|
custom.system.xdg.enable = true;
|
|
|
|
|
custom.system.fonts.enable = true;
|
|
|
|
|
custom.hardware.audio.enable = true;
|
|
|
|
|
custom.hardware.printing.enable = true;
|
2023-03-06 13:04:07 +01:00
|
|
|
|
custom.system.ssh.enable = true;
|
2023-03-06 13:51:26 +01:00
|
|
|
|
|
|
|
|
|
custom.system.dns.enable = true;
|
2023-02-23 20:34:35 +01:00
|
|
|
|
}
|
2023-02-24 17:34:42 +01:00
|
|
|
|
|