mirror of
https://github.com/Alexandre1a/NixOSDots.git
synced 2026-03-10 08:19:47 +01:00
Trying to fix some HM problems
This commit is contained in:
parent
69e17cbf9f
commit
b0e57167ce
@ -21,7 +21,7 @@
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { self,nix-darwin ,nixpkgs, ... }@inputs: {
|
||||
outputs = { self,nix-darwin ,nixpkgs, home-manager, spicetify-nix, ... }@inputs: {
|
||||
# use "nixos", or your hostname as the name of the configuration
|
||||
# it's a better practice than "default" shown in the video
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./modules.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
#inputs.home-manager.nixosModules.default
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
@ -40,6 +40,8 @@
|
||||
|
||||
home-manager = {
|
||||
extraSpecialArgs = { inherit inputs; };
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
users = {
|
||||
"alex" = import ./home.nix;
|
||||
};
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
@ -7,6 +7,7 @@
|
||||
home.homeDirectory = "/home/alex";
|
||||
|
||||
imports = [
|
||||
inputs.spicetify-nix.homeManagerModules
|
||||
../../modules/home-manager/spicetify.nix
|
||||
];
|
||||
|
||||
@ -123,5 +124,5 @@
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
programs.home-manager.enable = true;
|
||||
#programs.home-manager.enable = true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user