Changes mostly to dellserv

This commit is contained in:
Jack Mechem 2026-03-30 12:55:41 -07:00
parent e6a84a8e21
commit 63d48184d1
5 changed files with 345 additions and 116 deletions

View file

@ -1,51 +1,58 @@
{
description = "Nixos config flake";
description = "Nixos config flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
gtkapps.url = "github:JackMechem/gtkapps";
gtkbar.url = "github:JackMechem/gtkbar";
# midirun.url = "path:/home/jack/Projects/midirun";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
gtkapps.url = "github:JackMechem/gtkapps";
gtkbar.url = "github:JackMechem/gtkbar";
# midirun.url = "path:/home/jack/Projects/midirun";
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
# IMPORTANT: we're using "libgbm" and is only available in unstable so ensure
# to have it up-to-date or simply don't specify the nixpkgs input
inputs.nixpkgs.follows = "nixpkgs";
zen-browser = {
url = "github:0xc000022070/zen-browser-flake";
# IMPORTANT: we're using "libgbm" and is only available in unstable so ensure
# to have it up-to-date or simply don't specify the nixpkgs input
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
server-dash = {
url = "github:JackMechem/server-dash";
};
server-dash-api = {
url = "github:JackMechem/server-dash-api";
};
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{ self, nixpkgs, ... }@inputs:
{
# use "nixos", or your hostname as the name of the configuration
# it's a better practice than "default" shown in the video
nixosConfigurations.t480 = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/t480/configuration.nix
inputs.home-manager.nixosModules.default
];
};
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/desktop/configuration.nix
inputs.home-manager.nixosModules.default
#inputs.midirun.nixosModules.default
];
};
nixosConfigurations.dellserv = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/dellserv/configuration.nix
inputs.home-manager.nixosModules.default
#inputs.midirun.nixosModules.default
];
};
};
outputs =
{ self, nixpkgs, ... }@inputs:
{
# use "nixos", or your hostname as the name of the configuration
# it's a better practice than "default" shown in the video
nixosConfigurations.t480 = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/t480/configuration.nix
inputs.home-manager.nixosModules.default
];
};
nixosConfigurations.desktop = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/desktop/configuration.nix
inputs.home-manager.nixosModules.default
#inputs.midirun.nixosModules.default
];
};
nixosConfigurations.dellserv = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./hosts/dellserv/configuration.nix
inputs.home-manager.nixosModules.default
inputs.server-dash.nixosModules.default
inputs.server-dash-api.nixosModules.default
];
};
};
}