mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 00:09:46 +01:00
76 lines
1.2 KiB
Nix
76 lines
1.2 KiB
Nix
{ config, pkgs, inputs, ...}:
|
|
|
|
{
|
|
imports = [
|
|
./modules.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "framework";
|
|
networkmanager = {
|
|
enable = true;
|
|
};
|
|
};
|
|
|
|
# Flatpak
|
|
#services = {
|
|
# flatpak = {
|
|
# enable = true;
|
|
# };
|
|
#};
|
|
|
|
# Todo -> Display server for all nixos machines (lightdm or smth else)
|
|
|
|
# User
|
|
users= {
|
|
users = {
|
|
alex = {
|
|
isNormalUser = true;
|
|
description = "Alexandre Delcamp--Enache";
|
|
shell= pkgs.zsh;
|
|
extraGroups = [ "networkmanager" "wheel" "video" "render" ];
|
|
};
|
|
};
|
|
};
|
|
# HomeManager
|
|
home-manager = {
|
|
extraSpecialArgs = { inherit inputs; };
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
backupFileExtension = "HM-Backup";
|
|
users = {
|
|
"alex" = import ./home.nix;
|
|
};
|
|
};
|
|
|
|
programs = {
|
|
hyprland = {
|
|
enable = true;
|
|
};
|
|
zsh = {
|
|
enable = true;
|
|
enableAutosuggestions = true;
|
|
};
|
|
};
|
|
|
|
environment = {
|
|
systemPackages = with pkgs; [
|
|
playerctl
|
|
|
|
# Video Accel
|
|
libva
|
|
libva-utils
|
|
];
|
|
sessionVariables = {
|
|
NIXOS_OZONE_WL = "1";
|
|
};
|
|
pathsToLink = [ "/share/zsh" ];
|
|
};
|
|
|
|
system = {
|
|
stateVersion = "24.11";
|
|
};
|
|
|
|
# End of config
|
|
}
|