feat: add dependencies to host in home-manager

This commit is contained in:
2025-04-13 18:22:04 +03:00
parent 28bf565203
commit 9cdd54c6e8
10 changed files with 38 additions and 14 deletions

View File

@ -1,4 +1,6 @@
{ config, pkgs, pkgs-stable, pkgs-fixed, lib, inputs, ...}: {
{ config, pkgs, pkgs-stable, pkgs-fixed, lib, inputs, ...}: let
laptop = false;
in {
imports = [
./secrets/secrets.nix
./modules/aagl.nix
@ -19,6 +21,7 @@
inherit pkgs-fixed;
inherit lib;
inherit inputs;
inherit laptop;
name = "chest";
})
];

View File

@ -1,4 +1,6 @@
{ config, pkgs, pkgs-stable, pkgs-fixed, lib, inputs, ...}: {
{ config, pkgs, pkgs-stable, pkgs-fixed, lib, inputs, ...}: let
laptop = true;
in {
imports = [
./secrets/secrets.nix
./modules/grub.nix
@ -16,6 +18,7 @@
inherit pkgs-fixed;
inherit lib;
inherit inputs;
inherit laptop;
name = "chest";
})
];
@ -23,5 +26,5 @@
nixpkgs.config.allowBroken = true;
programs.gamemode.enable = true;
hardware.bluetooth.enable = true;
host.laptop = true;
host.laptop = laptop;
}

View File

@ -1,4 +1,6 @@
{ config, pkgs, pkgs-stable, pkgs-fixed, lib, inputs, ...}: {
{ config, pkgs, pkgs-stable, pkgs-fixed, lib, inputs, ...}: let
laptop = false;
in {
imports = [
./secrets/secrets.nix
./modules/grub.nix
@ -19,6 +21,7 @@
inherit pkgs-fixed;
inherit lib;
inherit inputs;
inherit laptop;
name = "sweetbread";
fullname = "Sweet Bread";
})

View File

@ -1,4 +1,6 @@
{ config, pkgs, pkgs-stable, pkgs-fixed, lib, inputs, ...}: {
{ config, pkgs, pkgs-stable, pkgs-fixed, lib, inputs, ...}: let
laptop = true;
in {
imports = [
./secrets/secrets.nix
./modules/grub.nix
@ -17,13 +19,14 @@
inherit pkgs-fixed;
inherit lib;
inherit inputs;
inherit laptop;
name = "sweetbread";
fullname = "Sweet Bread";
})
];
hardware.bluetooth.enable = true;
host.laptop = true;
host.laptop = laptop;
environment.systemPackages = [ pkgs.dbgate ];
}