nixos/hosts/perso-desktop/configuration.nix

43 lines
949 B
Nix
Raw Normal View History

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).
{ config, pkgs, ... }:
{
imports =
[
../../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.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "nixos-desktop-perso"; # Define your hostname.
modules.system = {
desktop = {
plasma.enable = true;
};
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 = {
ollama.enable = true;
};
};
2024-02-19 19:34:50 +01:00
}