getting stuff ready for flake to see
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
{ lib, inputs, nixpkgs, nixpkgs-23-11, homeManager, homeManager-23-11, NixOS-WSL, ... }:
|
||||
{ lib, inputs, nixpkgs-23-11, homeManager, homeManager-23-11, NixOS-WSL, customPackageOverlay, ... }:
|
||||
{
|
||||
"maxos" = lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit customPackageOverlay;
|
||||
};
|
||||
modules = [
|
||||
./maxos/configuration.nix
|
||||
homeManager.nixosModules.home-manager {
|
||||
@@ -19,6 +22,9 @@
|
||||
|
||||
"nixosWSL" = nixpkgs-23-11.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
specialArgs = {
|
||||
inherit customPackageOverlay;
|
||||
};
|
||||
modules = [
|
||||
./nixosWSL/configuration.nix
|
||||
homeManager-23-11.nixosModules.home-manager {
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, customPackageOverlay, ... }:
|
||||
|
||||
let
|
||||
custom-fonts = import ../../fonts { inherit pkgs; };
|
||||
@@ -109,6 +109,9 @@ in
|
||||
programs.zsh.enable = true;
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
nixpkgs.overlays = [
|
||||
customPackageOverlay.overlay
|
||||
];
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ pkgs, modulesPath, ... }:
|
||||
{ pkgs, customPackageOverlay, modulesPath, ... }:
|
||||
|
||||
let
|
||||
custom-fonts = import ../../fonts { inherit pkgs; };
|
||||
@@ -34,6 +34,10 @@ in
|
||||
experimental-features = nix-command flakes
|
||||
'';
|
||||
|
||||
nixpkgs.overlays = [
|
||||
customPackageOverlay.overlay
|
||||
];
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
|
||||
Reference in New Issue
Block a user