actualiza home manager default y ordena allowUnfree en orden alfabetico

This commit is contained in:
Fabián Montero 2022-11-29 12:54:49 -06:00
parent 451fbf131c
commit 1433a1f96b
2 changed files with 18 additions and 13 deletions

View file

@ -9,27 +9,31 @@
url = "github:nix-community/home-manager/release-22.11"; # actualizar esto para actualizar
inputs.nixpkgs.follows = "nixpkgs";
};
};
};
outputs = {self, nixpkgs, unstable, home-manager, nur, hm-isolation, ...}:
let
system = "x86_64-linux";
packages = import ./pkgs;
pkgs = import nixpkgs {
inherit system;
};
in
{
nixosConfigurations.posixlycorrect = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
inherit system;
modules = [ ( import ./base ) ];
};
homeConfigurations."fabian@posixlycorrect" = home-manager.lib.homeManagerConfiguration {
system = "x86_64-linux";
configuration = import ./home {inherit self nixpkgs unstable hm-isolation; };
username = "fabian";
homeDirectory = "/home/fabian";
stateVersion = "21.11"; # No tocar
inherit pkgs;
modules = [ (import ./home {inherit self nixpkgs unstable hm-isolation; }) ];
};
packages.x86_64-linux = packages nixpkgs.legacyPackages.x86_64-linux;
packages."${system}" = packages pkgs;
overlay = self: super: {
local = packages super;

View file

@ -2,17 +2,18 @@
with lib;
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"vmware-horizon-client"
"steam-original"
"steam"
"discord"
"pycharm-professional"
"quartus-prime-lite-unwrapped"
"rar"
"spotify"
"spotify-unwrapped"
"steam"
"steam-original"
"steam-run"
"teams"
"zoom"
"vscode-extension-ms-vscode-cpptools"
"quartus-prime-lite-unwrapped"
"vmware-horizon-client"
"zoom"
];
}