Add extra stateful info

This commit is contained in:
Evie Litherland-Smith 2023-06-21 20:55:16 +01:00
parent dcb22ebac5
commit da57432029
2 changed files with 25 additions and 1 deletions

View file

@ -1,5 +1,25 @@
{ {
"nodes": { "nodes": {
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1687365523,
"narHash": "sha256-2l/cPXDCDVcLNm+EvCRGJcJ9YxxyLbc2vfTah/t8Qwc=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "1fefd7bb8da0eec6755747f410fa491411a94296",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1686960236, "lastModified": 1686960236,
@ -18,6 +38,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs"
} }
} }

View file

@ -22,11 +22,14 @@
homeConfigurations."tux" = home-manager.lib.homeManagerConfiguration { homeConfigurations."tux" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages."aarch64-darwin"; pkgs = nixpkgs.legacyPackages."aarch64-darwin";
modules = [ modules = [
./home.nix
./home/personal.nix ./home/personal.nix
./home/gui/wezterm.nix ./home/gui/wezterm.nix
({pkgs, ...}: { ({pkgs, ...}: {
home.username = "tux";
home.homeDirectory = "/Users/tux";
home.stateVersion = "23.05";
home.packages = [pkgs.gcc]; home.packages = [pkgs.gcc];
programs.home-manager.enable = true;
programs.zsh = { programs.zsh = {
sessionVariables.CC = "${pkgs.gcc}/bin/gcc"; sessionVariables.CC = "${pkgs.gcc}/bin/gcc";
envExtra = '' envExtra = ''