Nix Flakes configuration for MacOS, NixOS and WSL
1{ ... }:
2let
3 username = "neoxa";
4in
5{
6 allowedUnfreePackages = [ "corefonts" "davinci-resolve" "steam" "steam-unwrapped" "spotify" "unityhub" ];
7
8 flake.nixosModules.${username} = { pkgs, ... }: {
9 users.users.${username} = {
10 isNormalUser = true;
11 extraGroups = [ "networkmanager" "wheel" ];
12 packages = with pkgs; [
13 blender
14 davinci-resolve
15 gale
16 ghostty
17 heroic
18 librewolf
19 obs-studio
20 spotify
21 unityhub
22 vesktop
23 vscodium
24 ];
25 };
26 };
27}