fix: overlays
This commit is contained in:
parent
cd7b2e47f5
commit
c6a19487c1
1 changed files with 8 additions and 10 deletions
18
flake.nix
18
flake.nix
|
|
@ -13,24 +13,22 @@
|
||||||
|
|
||||||
outputs = inputs@{ self, nixpkgs, home-manager, ... }: let
|
outputs = inputs@{ self, nixpkgs, home-manager, ... }: let
|
||||||
|
|
||||||
overlays = [
|
|
||||||
# Nix VSCode Extensions Overlay
|
|
||||||
inputs.nix-vscode-extensions.overlays.default
|
|
||||||
];
|
|
||||||
|
|
||||||
pkgs = system: import nixpkgs {
|
pkgs = system: import nixpkgs {
|
||||||
inherit system overlays;
|
inherit system;
|
||||||
|
overlays = [
|
||||||
|
inputs.nix-vscode-extensions.overlays.default
|
||||||
|
];
|
||||||
config = {allowUnfree = true;};
|
config = {allowUnfree = true;};
|
||||||
};
|
};
|
||||||
|
|
||||||
in {
|
in {
|
||||||
|
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
||||||
fedfer-main-laptop-nixos = nixpkgs.lib.nixosSystem {
|
fedfer-main-laptop-nixos = nixpkgs.lib.nixosSystem rec {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
specialArgs = { inherit pkgs; };
|
specialArgs = { pkgs = pkgs system; };
|
||||||
modules = [
|
modules = [
|
||||||
./hosts/main-laptop/configuration.nix
|
./hosts/main-laptop/configuration.nix
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue