reorganize
This commit is contained in:
parent
f3b4507224
commit
7d40e27b21
1 changed files with 13 additions and 24 deletions
37
flake.nix
37
flake.nix
|
@ -11,9 +11,7 @@
|
||||||
sops-nix.url = "github:Mic92/sops-nix";
|
sops-nix.url = "github:Mic92/sops-nix";
|
||||||
doom-emacs.url = "github:nix-community/nix-doom-emacs";
|
doom-emacs.url = "github:nix-community/nix-doom-emacs";
|
||||||
};
|
};
|
||||||
outputs = {
|
outputs = { self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, ... } @inputs:
|
||||||
self, nixpkgs, nixpkgs-wayland, home-manager, lanzaboote, nur, sops-nix, doom-emacs, ...
|
|
||||||
}@inputs:
|
|
||||||
let
|
let
|
||||||
inherit (self) outputs;
|
inherit (self) outputs;
|
||||||
stateVersion = "unstable";
|
stateVersion = "unstable";
|
||||||
|
@ -21,29 +19,20 @@
|
||||||
libx = import ./lib { inherit inputs outputs stateVersion hmStateVersion; };
|
libx = import ./lib { inherit inputs outputs stateVersion hmStateVersion; };
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
# Currently a Lenovo P1 Gen 5
|
nixos-laptop = libx.mkHost
|
||||||
nixos-laptop = libx.mkHost {
|
{ hostname = "nixos-laptop"; username = "albert"; desktop = "hyprland"; gpu = "intel"; theme = "gruvbox"; };
|
||||||
hostname = "nixos-laptop"; username = "albert"; desktop = "hyprland"; gpu = "intel"; theme = "gruvbox";
|
nixos-framework = libx.mkHost
|
||||||
};
|
{ hostname = "nixos-framework"; username = "albert"; desktop = "hyprland"; gpu = "amd"; theme = "gruvbox"; };
|
||||||
# Ryzen 7 Framework 13
|
nixos-rpi4-01 = libx.mkHost
|
||||||
nixos-framework = libx.mkHost {
|
{ hostname = "nixos-rpi4-01"; username = "albert"; };
|
||||||
hostname = "nixos-framework"; username = "albert"; desktop = "hyprland"; gpu = "amd"; theme = "gruvbox";
|
|
||||||
};
|
|
||||||
nixos-desktop = libx.mkHost {
|
|
||||||
hostname = "nixos-desktop"; username = "albert"; desktop = "gnome"; gpu = "nvidia"; theme = "gruvbox";
|
|
||||||
};
|
|
||||||
# Testing ARM NixOS
|
|
||||||
nixos-rpi4-01 = libx.mkHost {
|
|
||||||
hostname = "nixos-rpi4-01"; username = "albert"; platform = "aarch64-linux";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
"albert@nixos-laptop" = libx.mkHome {
|
"albert@nixos-laptop" = libx.mkHome
|
||||||
hostname = "nixos-laptop"; username = "albert"; desktop = "hyprland"; theme = "gruvbox";
|
{ hostname = "nixos-laptop"; username = "albert"; desktop = "hyprland"; theme = "gruvbox"; };
|
||||||
};
|
"albert@nixos-framework" = libx.mkHome
|
||||||
"albert@nixos-rpi4-01" = libx.mkHome {
|
{ hostname = "nixos-framework"; username = "albert"; desktop = "hyprland"; theme = "gruvbox"; };
|
||||||
hostname = "nixos-rpi4-01"; username = "albert";
|
"albert@nixos-rpi4-01" = libx.mkHome
|
||||||
};
|
{ hostname = "nixos-rpi4-01"; username = "albert"; };
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
Reference in a new issue