NixOSDots/hosts/laptop/configuration.nix
2026-01-16 10:31:22 +01:00

64 lines
1007 B
Nix
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ pkgs, ... }:
{
imports = [
./modules.nix
];
networking = {
hostName = "laptop";
networkmanager = {
enable = true;
};
};
users = {
users = {
laptop = {
isNormalUser = true;
description = "Laptop";
shell = pkgs.zsh;
extraGroups = [ "networkmanager" "wheel" ];
};
};
};
home-manager = {
extraSpecialArgs = { inherit inputs; };
useGlobalPkgs = true;
useUsersPackages = true;
backupFileExtension = "HM-Backup";
users = {
"laptop" = imports ./home.nix;
};
};
programs = {
hyprland = {
enable = true;
};
zsh = {
enable = true;
};
};
enviroment = {
systemPackages = with pkgs; [
playerctl
nvtopPackages.nvidia
libva
libva-utils
cudatoolkit
sddm-astraunot
];
sessionVariables = {
NIXOS_OZONE_WL = "1";
};
pathToLink = [ "/share/zsh" ];
};
system = {
stateVersion = "24.11";
};
}