mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
Added a new host, made for laptop gaming
This commit is contained in:
parent
c974bc0321
commit
c92f658380
53
hosts/laptop/configuration.nix
Normal file
53
hosts/laptop/configuration.nix
Normal file
@ -0,0 +1,53 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./modules.nix
|
||||
];
|
||||
|
||||
networking = {
|
||||
hostName = "laptop";
|
||||
networkmanager = {
|
||||
enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
users = {
|
||||
users = {
|
||||
laptop = {
|
||||
isNormalUser = true;
|
||||
description = "Laptop";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
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";
|
||||
};
|
||||
}
|
||||
6
hosts/laptop/modules.nix
Normal file
6
hosts/laptop/modules.nix
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
imports = [
|
||||
../common/modules.nix
|
||||
];
|
||||
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user