-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathiso.nix
39 lines (29 loc) · 867 Bytes
/
iso.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ pkgs, modulesPath, lib, ... }:
{
imports = [ "${modulesPath}/installer/cd-dvd/installation-cd-graphical-calamares-plasma5.nix" ];
nixpkgs.hostPlatform = "x86_64-linux";
# Enable the Plasma 5 Desktop Environment.
environment.systemPackages = with pkgs; [
firefox
bcachefs-tools
gparted
parted
git
disko
];
# Support choosing from any locale
i18n.supportedLocales = [ "all" ];
nix.settings.experimental-features = [ "nix-command" "flakes" ];
services.displayManager = {
# Automatically login as nixos.
sddm.enable = true;
autoLogin = {
enable = true;
user = "nixos";
};
};
boot.kernelPackages = lib.mkOverride 0 pkgs.linuxPackages;
services.xserver.videoDrivers = ["nvidia"];
nixpkgs.config.allowUnfree = true;
boot.supportedFilesystems.zfs = lib.mkForce false;
}