-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
987 additions
and
989 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,63 @@ | ||
{ | ||
description = "Your new nix config"; | ||
description = "Your new nix config"; | ||
|
||
inputs = { | ||
# Nixpkgs | ||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; | ||
inputs = { | ||
# Nixpkgs | ||
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.05"; | ||
|
||
# Home manager | ||
home-manager.url = "github:nix-community/home-manager/release-24.05"; | ||
home-manager.inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
# Home manager | ||
home-manager.url = "github:nix-community/home-manager/release-24.05"; | ||
home-manager.inputs.nixpkgs.follows = "nixpkgs"; | ||
}; | ||
|
||
outputs = { | ||
self, | ||
nixpkgs, | ||
home-manager, | ||
... | ||
} @ inputs: let | ||
inherit (self) outputs; | ||
in { | ||
# NixOS configuration entrypoint | ||
# Available through 'nixos-rebuild --flake .#your-hostname' | ||
nixosConfigurations = { | ||
# FIXME replace with your hostname | ||
cherry = nixpkgs.lib.nixosSystem { | ||
specialArgs = {inherit inputs outputs;}; | ||
# > Our main nixos configuration file < | ||
modules = [./hosts/cherry/configuration.nix]; | ||
}; | ||
outputs = { | ||
self, | ||
nixpkgs, | ||
home-manager, | ||
... | ||
} @ inputs: let | ||
inherit (self) outputs; | ||
in { | ||
# NixOS configuration entrypoint | ||
# Available through 'nixos-rebuild --flake .#your-hostname' | ||
nixosConfigurations = { | ||
# FIXME replace with your hostname | ||
cherry = nixpkgs.lib.nixosSystem { | ||
specialArgs = {inherit inputs outputs;}; | ||
# > Our main nixos configuration file < | ||
modules = [./hosts/cherry/configuration.nix]; | ||
}; | ||
|
||
pineapple = nixpkgs.lib.nixosSystem { | ||
specialArgs = {inherit inputs outputs;}; | ||
# > Our main nixos configuration file < | ||
modules = [./hosts/pineapple/configuration.nix]; | ||
}; | ||
}; | ||
pineapple = nixpkgs.lib.nixosSystem { | ||
specialArgs = {inherit inputs outputs;}; | ||
# > Our main nixos configuration file < | ||
modules = [./hosts/pineapple/configuration.nix]; | ||
}; | ||
}; | ||
|
||
# Standalone home-manager configuration entrypoint | ||
# Available through 'home-manager --flake .#your-username@your-hostname' | ||
homeConfigurations = { | ||
"snuggle@cherry" = home-manager.lib.homeManagerConfiguration { | ||
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance | ||
extraSpecialArgs = {inherit inputs outputs;}; | ||
# > Our main home-manager configuration file < | ||
modules = [ | ||
./home-manager/home.nix | ||
./config/dconf/dconf.nix | ||
./config/dconf/cherry.nix | ||
]; | ||
}; | ||
"snuggle@pineapple" = home-manager.lib.homeManagerConfiguration { | ||
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance | ||
extraSpecialArgs = {inherit inputs outputs;}; | ||
# > Our main home-manager configuration file < | ||
modules = [ | ||
./home-manager/home.nix | ||
./config/dconf/dconf.nix | ||
./config/dconf/pineapple.nix | ||
]; | ||
}; | ||
}; | ||
}; | ||
# Standalone home-manager configuration entrypoint | ||
# Available through 'home-manager --flake .#your-username@your-hostname' | ||
homeConfigurations = { | ||
"snuggle@cherry" = home-manager.lib.homeManagerConfiguration { | ||
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance | ||
extraSpecialArgs = {inherit inputs outputs;}; | ||
# > Our main home-manager configuration file < | ||
modules = [ | ||
./home-manager/home.nix | ||
./config/dconf/dconf.nix | ||
./config/dconf/cherry.nix | ||
]; | ||
}; | ||
"snuggle@pineapple" = home-manager.lib.homeManagerConfiguration { | ||
pkgs = nixpkgs.legacyPackages.x86_64-linux; # Home-manager requires 'pkgs' instance | ||
extraSpecialArgs = {inherit inputs outputs;}; | ||
# > Our main home-manager configuration file < | ||
modules = [ | ||
./home-manager/home.nix | ||
./config/dconf/dconf.nix | ||
./config/dconf/pineapple.nix | ||
]; | ||
}; | ||
}; | ||
}; | ||
} |
Oops, something went wrong.