272 current 1970-01-01 01:00:00 23.11.20240405.72da83d 6.1.84 *
This commit is contained in:
parent
f27298fa9f
commit
8db057bc42
16
flake.nix
16
flake.nix
@ -25,16 +25,22 @@
|
|||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
unstable = final: prev: {
|
||||||
in {
|
unstable = import inputs.unstable {
|
||||||
overlays = {
|
system = final.system;
|
||||||
pkg-sets = final: prev: {
|
config = final.config;
|
||||||
unstable = import inputs.unstable {system = final.system;};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
overlays = [unstable];
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
in {
|
||||||
nixosConfigurations."MaxNixosLaptop" = nixpkgs.lib.nixosSystem {
|
nixosConfigurations."MaxNixosLaptop" = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
inherit pkgs;
|
||||||
};
|
};
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [
|
modules = [
|
||||||
|
@ -73,9 +73,6 @@
|
|||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow unfree packages
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
extraSpecialArgs = {inherit inputs;};
|
extraSpecialArgs = {inherit inputs;};
|
||||||
users = {
|
users = {
|
||||||
|
@ -26,8 +26,6 @@
|
|||||||
home.username = "max";
|
home.username = "max";
|
||||||
home.homeDirectory = "/home/max";
|
home.homeDirectory = "/home/max";
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
# This value determines the Home Manager release that your configuration is
|
# This value determines the Home Manager release that your configuration is
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||||
# introduces backwards incompatible changes.
|
# introduces backwards incompatible changes.
|
||||||
@ -66,6 +64,7 @@
|
|||||||
freecad
|
freecad
|
||||||
flatpak
|
flatpak
|
||||||
wine
|
wine
|
||||||
|
unstable.gyroflow
|
||||||
];
|
];
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
|
Loading…
Reference in New Issue
Block a user