add deck home manager to flake
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
../home-manager/development/vscode.nix
|
../home-manager/development/vscode.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
terminal.nixUpdateLocation = "/home/deck/Projects/nixos#starlite";
|
terminal.homeUpdateLocation = "/home/deck/Projects/nixos#deck";
|
||||||
terminal.homeUpdateLocation = "/home/deck/Projects/nixos/deck";
|
terminal.flakeUpdateLocation = "/home/worble/Projects/nixos";
|
||||||
|
|
||||||
# Home Manager needs a bit of information about you and the paths it should
|
# Home Manager needs a bit of information about you and the paths it should
|
||||||
# manage.
|
# manage.
|
||||||
|
|||||||
18
flake.nix
18
flake.nix
@@ -13,7 +13,12 @@
|
|||||||
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
|
nix-vscode-extensions.url = "github:nix-community/nix-vscode-extensions";
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, ... }@inputs: {
|
outputs = { self, nixpkgs, home-manager, ... }@inputs:
|
||||||
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
in
|
||||||
|
{
|
||||||
nixosConfigurations.tuxedo = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.tuxedo = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = { inherit inputs; };
|
||||||
modules = [
|
modules = [
|
||||||
@@ -26,5 +31,16 @@
|
|||||||
./starlite/configuration.nix
|
./starlite/configuration.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
homeConfigurations.deck = home-manager.lib.homeManagerConfiguration {
|
||||||
|
inherit pkgs;
|
||||||
|
specialArgs = { inherit inputs; };
|
||||||
|
|
||||||
|
# Specify your home configuration modules here, for example,
|
||||||
|
# the path to your home.nix.
|
||||||
|
modules = [ ./deck/home.nix ];
|
||||||
|
|
||||||
|
# Optionally use extraSpecialArgs
|
||||||
|
# to pass through arguments to home.nix
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user