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 =
|
|
|
|
|
[
|
2024-05-25 15:16:08 +02:00
|
|
|
|
../../modules
|
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;
|
|
|
|
|
|
2024-05-25 15:16:08 +02:00
|
|
|
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
|
|
|
|
users.users.florian = {
|
|
|
|
|
isNormalUser = true;
|
|
|
|
|
description = "florian";
|
|
|
|
|
extraGroups = [ "networkmanager" "wheel" ];
|
|
|
|
|
};
|
|
|
|
|
home-manager.users.florian = {
|
|
|
|
|
home = {
|
|
|
|
|
username = "florian";
|
|
|
|
|
homeDirectory = "/home/florian";
|
|
|
|
|
|
|
|
|
|
stateVersion = "24.05";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
|
|
|
|
};
|
|
|
|
|
|
2024-02-19 19:34:50 +01:00
|
|
|
|
networking.hostName = "nixos-desktop-perso"; # Define your hostname.
|
|
|
|
|
}
|