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"; sops-nix.url = "github:Mic92/sops-nix";
helix.url = "github:helix-editor/helix"; helix.url = "github:helix-editor/helix";
rtx.url = "github:jdx/rtx"; rtx.url = "github:jdx/rtx";
# TODO: hyprland.url = "github:hyprwm/Hyprland";
}; };
outputs = inputs @ { self, ... }: { outputs = inputs @ { self, ... }: {

View file

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

View file

@ -38,14 +38,16 @@ in
rascal = nixosSystem "x86_64-linux" [ ./nixos/rascal.nix ]; rascal = nixosSystem "x86_64-linux" [ ./nixos/rascal.nix ];
musicbox = nixosSystem "x86_64-linux" (disko { musicbox = nixosSystem "x86_64-linux" (disko
{
scheme = "unencrypted"; scheme = "unencrypted";
disks = [ "/dev/sda" ]; disks = [ "/dev/sda" ];
} ++ [ } ++ [
./nixos/musicbox.nix ./nixos/musicbox.nix
]); ]);
thinker = nixosSystem "x86_64-linux" (disko { thinker = nixosSystem "x86_64-linux" (disko
{
scheme = "standard"; scheme = "standard";
disks = [ "/dev/nvme0n1" ]; disks = [ "/dev/nvme0n1" ];
name = "vdb"; name = "vdb";