Skip to content

Commit

Permalink
🎨 Standardise on tab indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuggle committed Sep 25, 2024
1 parent 9bd2f62 commit 16986ea
Show file tree
Hide file tree
Showing 7 changed files with 987 additions and 989 deletions.
112 changes: 56 additions & 56 deletions flake.nix
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
];
};
};
};
}
Loading

0 comments on commit 16986ea

Please sign in to comment.