272 current 1970-01-01 01:00:00 23.11.20240405.72da83d 6.1.84 *

This commit is contained in:
Max Känner 2024-04-07 11:56:15 +02:00
parent f27298fa9f
commit 8db057bc42
3 changed files with 12 additions and 10 deletions

View File

@ -25,16 +25,22 @@
...
} @ inputs: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
unstable = final: prev: {
unstable = import inputs.unstable {
system = final.system;
config = final.config;
};
};
pkgs = import nixpkgs {
inherit system;
overlays = [unstable];
config.allowUnfree = true;
};
in {
overlays = {
pkg-sets = final: prev: {
unstable = import inputs.unstable {system = final.system;};
};
};
nixosConfigurations."MaxNixosLaptop" = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs;
inherit pkgs;
};
system = "x86_64-linux";
modules = [

View File

@ -73,9 +73,6 @@
shell = pkgs.zsh;
};
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
home-manager = {
extraSpecialArgs = {inherit inputs;};
users = {

View File

@ -26,8 +26,6 @@
home.username = "max";
home.homeDirectory = "/home/max";
nixpkgs.config.allowUnfree = true;
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
@ -66,6 +64,7 @@
freecad
flatpak
wine
unstable.gyroflow
];
home.sessionVariables = {