feat: add host IROH, improve hyprland config, add ausweisapp

This commit is contained in:
Jacob Bachmann 2024-03-25 15:51:13 +01:00
parent 7c5af81e75
commit 1e8844c6a3
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
18 changed files with 554 additions and 73 deletions

View file

@ -1,32 +1,29 @@
{
description = "Nix los hier";
inputs = {
# TODO enable ability to switch between stable and unstable
# TODO enable ability to include or exclude unfree software
#nixpkgs.url = "github:nixos/nixpkgs/nixos-23.11";
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
#nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
#nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
#home-manager.url = "github:nix-community/home-manager/release-23.05";
#home-manager.inputs.nixpkgs.follows = "nixpkgs";
#home-manager-unstable.url = "github:nix-community/home-manager";
#home-manager-unstable.inputs.nixpkgs.follows = "nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/Hyprland";
hy3 = {
url = "github:outfoxxed/hy3";
inputs.hyprland.follows = "hyprland";
};
};
outputs = { self, nixpkgs, nixos-hardware, home-manager, ... }@inputs: {
outputs = { self, nixpkgs, nixos-hardware, home-manager, hyprland, hy3, ... }@inputs: {
nixosConfigurations = {
W530 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
hyprland.nixosModules.default
./modules
./hosts/W530
@ -43,6 +40,8 @@
specialArgs = inputs;
modules = [
hyprland.nixosModules.default
./modules
./hosts/T430
@ -56,6 +55,24 @@
];
};
IROH = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
hyprland.nixosModules.default
./modules
./hosts/IROH
home-manager.nixosModules.home-manager
{
imports = [ ./users/gandalf ];
}
];
};
};
};
}