Formatting
This commit is contained in:
parent
ab1e07328e
commit
fec19d0d9b
|
@ -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, ... }: {
|
||||
|
|
47
home.nix
47
home.nix
|
@ -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)
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
12
nixos.nix
12
nixos.nix
|
@ -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 ];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue