fixes or not
This commit is contained in:
16
flake.nix
16
flake.nix
@@ -1,6 +1,6 @@
|
||||
{
|
||||
|
||||
description = "Autumn's laptop config";
|
||||
description = "Autumn's multi-system configs";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
@@ -24,21 +24,25 @@
|
||||
};
|
||||
in {
|
||||
|
||||
homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
};
|
||||
# homeConfigurations.${user} = home-manager.lib.homeManagerConfiguration {
|
||||
# extraSpecialArgs = specialArgs;
|
||||
# pkgs = nixpkgs.legacyPackages.${system};
|
||||
# modules = [ ./home-manager/${user}/home.nix ];
|
||||
# };
|
||||
|
||||
nixosConfigurations."yukigekko" = nixpkgs.lib.nixosSystem{
|
||||
specialArgs = specialArgs;
|
||||
modules = [
|
||||
./system/nixos/configuration.nix home-manager.nixosModules.home-manager{
|
||||
./system/nixos/configuration.nix
|
||||
home-manager.nixosModules.home-manager{
|
||||
home-manager = {
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = specialArgs;
|
||||
users.${user} = {
|
||||
home.stateVersion = "25.11";
|
||||
imports = [
|
||||
./home-manager/${user}/home.nix
|
||||
./home-manager/${user}/yukigekko-home.nix
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user