Updated to home manager master (22.11)

Using nixpkgs unstable so updating home manager to track more closely
with that (ran into an issue building).
This commit is contained in:
Alejandro Angulo 2022-10-31 17:18:11 -07:00
parent 99911c9c40
commit ee91268f30
Signed by: alejandro-angulo
GPG key ID: 75579581C74554B6
2 changed files with 21 additions and 25 deletions

View file

@ -3,7 +3,7 @@
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-22.05"; home-manager.url = "github:nix-community/home-manager/master";
home-manager.inputs.nixpkgs.follows = "nixpkgs"; home-manager.inputs.nixpkgs.follows = "nixpkgs";
ssbm-nix.url = github:djanatyn/ssbm-nix; ssbm-nix.url = github:djanatyn/ssbm-nix;
}; };
@ -27,15 +27,26 @@
in { in {
homeManagerConfigurations = { homeManagerConfigurations = {
alejandro = home-manager.lib.homeManagerConfiguration { alejandro = home-manager.lib.homeManagerConfiguration {
inherit system pkgs; inherit pkgs;
username = "alejandro"; modules = [
homeDirectory = "/home/alejandro"; ./users/alejandro/home.nix
stateVersion = "22.05"; {
configuration = { home = {
imports = [ username = "alejandro";
./users/alejandro/home.nix homeDirectory = "/home/alejandro";
];
}; # This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
stateVersion = "22.05";
};
}
];
}; };
}; };

View file

@ -17,11 +17,6 @@
./zsh.nix ./zsh.nix
]; ];
# Home Manager needs a bit of information about you and the
# paths it should manage.
home.username = "alejandro";
home.homeDirectory = "/home/alejandro";
home.packages = with pkgs; [ home.packages = with pkgs; [
kitty kitty
signal-desktop signal-desktop
@ -49,16 +44,6 @@
#longitude = -118.4; #longitude = -118.4;
}; };
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "22.05";
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; programs.home-manager.enable = true;
} }