mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 08:19:47 +01:00
65 lines
1.1 KiB
Nix
65 lines
1.1 KiB
Nix
{ config, pkgs, inputs, ...}:
|
|
|
|
{
|
|
imports = [
|
|
./modules.nix
|
|
];
|
|
|
|
networking = {
|
|
hostName = "framework";
|
|
networkmanager = {
|
|
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;
|
|
extraGrousp = [ "networkmanager" "wheel" ];
|
|
};
|
|
};
|
|
};
|
|
# 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
|
|
];
|
|
sessionVariables = {
|
|
NIXOS_OZONE_WL = "1";
|
|
};
|
|
pathsToLink = [ "/share/zsh" ];
|
|
};
|
|
|
|
system = {
|
|
stateVersion = "24.11";
|
|
};
|
|
|
|
# End of config
|
|
}
|