Add more configs to flake.nix
This commit is contained in:
parent
da57432029
commit
51ad3c8141
38
flake.nix
38
flake.nix
|
@ -15,30 +15,26 @@
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
home-manager,
|
home-manager,
|
||||||
}: {
|
}: {
|
||||||
nixosConfigurations.N0245 = nixpkgs.lib.nixosSystem {
|
nixosConfigurations = {
|
||||||
|
N0245 = nixpkgs.lib.nixosSystem {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = [./configuration.nix];
|
|
||||||
};
|
|
||||||
homeConfigurations."tux" = home-manager.lib.homeManagerConfiguration {
|
|
||||||
pkgs = nixpkgs.legacyPackages."aarch64-darwin";
|
|
||||||
modules = [
|
modules = [
|
||||||
./home/personal.nix
|
./configuration.nix
|
||||||
./home/gui/wezterm.nix
|
./machines/N0245/default.nix
|
||||||
({pkgs, ...}: {
|
home-manager.nixosModules.home-manager
|
||||||
home.username = "tux";
|
./machines/N0245/elitherl.nix
|
||||||
home.homeDirectory = "/Users/tux";
|
|
||||||
home.stateVersion = "23.05";
|
|
||||||
home.packages = [pkgs.gcc];
|
|
||||||
programs.home-manager.enable = true;
|
|
||||||
programs.zsh = {
|
|
||||||
sessionVariables.CC = "${pkgs.gcc}/bin/gcc";
|
|
||||||
envExtra = ''
|
|
||||||
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
services.syncthing.enable = true;
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
homeConfigurations = {
|
||||||
|
"tux" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
pkgs = nixpkgs.legacyPackages."aarch64-darwin";
|
||||||
|
modules = [./machines/Monarch/tux.nix];
|
||||||
|
};
|
||||||
|
"xenia" = home-manager.lib.homeManagerConfiguration {
|
||||||
|
pkgs = nixpkgs.legacyPackages."aarch64-linux";
|
||||||
|
modules = [./machines/Northstar/xenia.nix];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,8 +4,9 @@
|
||||||
# paths it should manage.
|
# paths it should manage.
|
||||||
home.username = "tux";
|
home.username = "tux";
|
||||||
home.homeDirectory = "/Users/tux";
|
home.homeDirectory = "/Users/tux";
|
||||||
home.stateVersion = "22.11";
|
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 = ''
|
||||||
|
|
Loading…
Reference in a new issue