Formatting

This commit is contained in:
Daniel Flanagan 2023-09-14 21:20:27 -05:00
parent ab1e07328e
commit fec19d0d9b
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
3 changed files with 34 additions and 26 deletions

View file

@ -8,6 +8,7 @@
sops-nix.url = "github:Mic92/sops-nix";
helix.url = "github:helix-editor/helix";
rtx.url = "github:jdx/rtx";
# TODO: hyprland.url = "github:hyprwm/Hyprland";
};
outputs = inputs @ { self, ... }: {

View file

@ -5,26 +5,31 @@ let
rtx = prev.rtx // inputs.rtx.packages.${system}.rtx;
};
# TODO: be functional - have a mkHome function?
in {
daniel = let
system = "x86_64-linux";
pkgs = import inputs.nixpkgs { inherit system; overlays = [ (overlay system) ]; };
in inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
(import ./home/user.nix pkgs)
(import ./home/linux.nix pkgs)
];
};
in
{
daniel =
let
system = "x86_64-linux";
pkgs = import inputs.nixpkgs { inherit system; overlays = [ (overlay system) ]; };
in
inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
(import ./home/user.nix pkgs)
(import ./home/linux.nix pkgs)
];
};
daniel-work = let
system = "aarch64-darwin";
pkgs = import inputs.nixpkgs { inherit system; overlays = [ (overlay system) ]; };
in inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
(import ./home/user.nix pkgs)
(import ./home/work.nix pkgs)
];
};
daniel-work =
let
system = "aarch64-darwin";
pkgs = import inputs.nixpkgs { inherit system; overlays = [ (overlay system) ]; };
in
inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
(import ./home/user.nix pkgs)
(import ./home/work.nix pkgs)
];
};
}

View file

@ -38,19 +38,21 @@ in
rascal = nixosSystem "x86_64-linux" [ ./nixos/rascal.nix ];
musicbox = nixosSystem "x86_64-linux" (disko {
musicbox = nixosSystem "x86_64-linux" (disko
{
scheme = "unencrypted";
disks = ["/dev/sda"];
disks = [ "/dev/sda" ];
} ++ [
./nixos/musicbox.nix
]);
thinker = nixosSystem "x86_64-linux" (disko {
thinker = nixosSystem "x86_64-linux" (disko
{
scheme = "standard";
disks = ["/dev/nvme0n1"];
disks = [ "/dev/nvme0n1" ];
name = "vdb";
} ++ [
./nixos/thinker.nix
./nixos/thinker.nix
]);
# dragon = diskoNixosSystem self.diskoConfigurations.standard [ "/dev/disk/by-uuid/asdf" ] [ ./nixos/dragon.nix ];
}