2024-02-19 19:34:50 +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’).
|
|
|
|
|
|
2025-01-03 23:51:19 +01:00
|
|
|
|
{ lib, ... }:
|
2024-02-19 19:34:50 +01:00
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[
|
2024-05-28 10:12:33 +02:00
|
|
|
|
../../modules/system
|
2024-05-07 17:55:36 +02:00
|
|
|
|
|
2024-02-19 19:34:50 +01:00
|
|
|
|
# Include the results of the hardware scan.
|
|
|
|
|
./hardware-configuration.nix
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
# Bootloader.
|
2025-01-03 23:51:19 +01:00
|
|
|
|
# For lanzaboote see https://github.com/nix-community/lanzaboote/blob/master/docs/QUICK_START.md
|
|
|
|
|
boot.loader.systemd-boot.enable = lib.mkForce false;
|
|
|
|
|
boot.lanzaboote = {
|
2025-01-03 21:23:08 +01:00
|
|
|
|
enable = true;
|
2025-01-03 23:51:19 +01:00
|
|
|
|
pkiBundle = "/var/lib/sbctl";
|
|
|
|
|
};
|
|
|
|
|
boot.loader.systemd-boot.windows = {
|
|
|
|
|
"11-pro" = {
|
|
|
|
|
title = "Windows 11 Pro";
|
|
|
|
|
efiDeviceHandle = "HD1b";
|
2025-01-03 21:23:08 +01:00
|
|
|
|
};
|
|
|
|
|
};
|
2024-02-19 19:34:50 +01:00
|
|
|
|
boot.loader.efi.canTouchEfiVariables = true;
|
|
|
|
|
|
|
|
|
|
networking.hostName = "nixos-desktop-perso"; # Define your hostname.
|
2024-05-28 10:12:33 +02:00
|
|
|
|
|
|
|
|
|
modules.system = {
|
2024-09-05 22:47:19 +02:00
|
|
|
|
apps = {
|
2024-10-25 14:46:24 +02:00
|
|
|
|
flatpak.enable = true;
|
2024-09-05 22:47:19 +02:00
|
|
|
|
steam.enable = true;
|
|
|
|
|
};
|
|
|
|
|
|
2024-05-28 10:12:33 +02:00
|
|
|
|
desktop = {
|
2024-09-16 10:12:21 +02:00
|
|
|
|
plasma = {
|
|
|
|
|
enable = true;
|
|
|
|
|
};
|
2024-05-28 10:12:33 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
hardware = {
|
|
|
|
|
bluetooth.enable = true;
|
|
|
|
|
gamingKernel.enable = true;
|
|
|
|
|
keymaps.layout = "us";
|
|
|
|
|
nvidia.enable = true;
|
|
|
|
|
pipewire.enable = true;
|
|
|
|
|
plymouth.enable = true;
|
|
|
|
|
printing.enable = true;
|
|
|
|
|
waydroid.enable = true;
|
|
|
|
|
};
|
2024-06-04 21:14:48 +02:00
|
|
|
|
|
|
|
|
|
server = {
|
2024-06-18 19:44:19 +02:00
|
|
|
|
distrobox.enable = true;
|
2024-06-04 21:14:48 +02:00
|
|
|
|
};
|
2024-05-28 10:12:33 +02:00
|
|
|
|
};
|
2024-02-19 19:34:50 +01:00
|
|
|
|
}
|