Make a hosts folder for system and home, remove legacy.nix cause I never used it, change some comments
This commit is contained in:
parent
1a096662e1
commit
d9469fc321
36 changed files with 380 additions and 402 deletions
25
flake.nix
25
flake.nix
|
@ -50,44 +50,43 @@
|
|||
look = import ./extras/look.nix;
|
||||
ws = import ./extras/workspaces.nix;
|
||||
|
||||
# NixOS configuration entrypoint, use 'nixos-rebuild --flake .#your-hostname'
|
||||
# NixOS config entrypoint, use 'nixos-rebuild --flake .#your-hostname'
|
||||
nixosConfigurations = {
|
||||
JimDesktop = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./system/desktop.nix
|
||||
./system/hosts/JimDesktop/configuration.nix
|
||||
];
|
||||
};
|
||||
JimServer = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./system/server.nix
|
||||
./system/hosts/JimServer/configuration.nix
|
||||
mailserver.nixosModule
|
||||
];
|
||||
};
|
||||
JimPine = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./system/pinebook.nix
|
||||
./system/hosts/JimPine/configuration.nix
|
||||
hardware.nixosModules.pine64-pinebook-pro
|
||||
];
|
||||
};
|
||||
JimLenovo = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./system/lenovo.nix
|
||||
./system/hosts/JimLenovo/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# Standalone home-manager configuration
|
||||
# Available through 'home-manager --flake .#your-username@your-hostname'
|
||||
# Home-manager configuration, use 'home-manager --flake .#your-username@your-hostname'
|
||||
homeConfigurations = {
|
||||
"jimbo@JimDesktop" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./home/jimbo_desktop.nix
|
||||
./home/hosts/JimDesktop/home.nix
|
||||
nur.nixosModules.nur
|
||||
];
|
||||
};
|
||||
|
@ -95,14 +94,14 @@
|
|||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./home/jimbo_server.nix
|
||||
./home/hosts/JimServer/home.nix
|
||||
];
|
||||
};
|
||||
"jimbo@JimPine" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.aarch64-linux;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./home/jimbo_pinebook.nix
|
||||
./home/hosts/JimPine/home.nix
|
||||
nur.nixosModules.nur
|
||||
];
|
||||
};
|
||||
|
@ -110,16 +109,16 @@
|
|||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./home/jimbo_lenovo.nix
|
||||
./home/hosts/JimLenovo/home.nix
|
||||
nur.nixosModules.nur
|
||||
];
|
||||
};
|
||||
# Derivation for ssh envrionments on other people's servers
|
||||
"jimbo@SSH" = home-manager.lib.homeManagerConfiguration {
|
||||
"jimbo@JimTerminal" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||
extraSpecialArgs = {inherit inputs outputs;};
|
||||
modules = [
|
||||
./home/jimbo_ssh.nix
|
||||
./home/hosts/JimTerminal/home.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue