chore: seperate common config in flakes
Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
This commit is contained in:
parent
f32772e7f2
commit
e212e08409
25
flake.nix
25
flake.nix
@ -23,14 +23,19 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
commons = [
|
||||||
|
inputs.nh.nixosModules.default
|
||||||
|
inputs.nixvim.nixosModules.nixvim
|
||||||
|
];
|
||||||
|
|
||||||
# Laptop, X1 Carbon 9th Gen.
|
# Laptop, X1 Carbon 9th Gen.
|
||||||
hades = {
|
hades = {
|
||||||
nixos-modules = [
|
nixos-modules =
|
||||||
./machines/hades
|
[
|
||||||
inputs.nh.nixosModules.default
|
./machines/hades
|
||||||
inputs.nixvim.nixosModules.nixvim
|
nixos-hardware.nixosModules.lenovo-thinkpad-x1-9th-gen
|
||||||
nixos-hardware.nixosModules.lenovo-thinkpad-x1-9th-gen
|
]
|
||||||
];
|
++ commons;
|
||||||
home-module = import ./home/desktop;
|
home-module = import ./home/desktop;
|
||||||
specialArgs =
|
specialArgs =
|
||||||
{
|
{
|
||||||
@ -43,9 +48,11 @@
|
|||||||
|
|
||||||
# Server, AMD A8 APU.
|
# Server, AMD A8 APU.
|
||||||
trench = {
|
trench = {
|
||||||
nixos-modules = [
|
nixos-modules =
|
||||||
./machines/trench
|
[
|
||||||
];
|
./machines/trench
|
||||||
|
]
|
||||||
|
++ commons;
|
||||||
home-module = import ./home/base;
|
home-module = import ./home/base;
|
||||||
specialArgs =
|
specialArgs =
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user