Formatting
This commit is contained in:
parent
ab1e07328e
commit
fec19d0d9b
3 changed files with 34 additions and 26 deletions
|
@ -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, ... }: {
|
||||||
|
|
15
home.nix
15
home.nix
|
@ -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)
|
||||||
|
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue