actualiza home manager default y ordena allowUnfree en orden alfabetico
This commit is contained in:
parent
451fbf131c
commit
1433a1f96b
20
flake.nix
20
flake.nix
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue