further configuration

This commit is contained in:
Rouven Seifert 2023-01-20 14:37:59 +01:00
parent b8efb1ffed
commit 8def55e01e
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
5 changed files with 50 additions and 43 deletions

View file

@ -5,22 +5,27 @@
home-manager.url = github:nix-community/home-manager;
home-manager.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = github:hyprwm/Hyprland;
hyprland.inputs.nixpkgs.follows = "nixpkgs";
hyprpaper.url = github:hyprwm/hyprpaper;
hyprpaper.inputs.nixpkgs.follows = "nixpkgs";
sops-nix.url = github:Mic92/sops-nix;
sops-nix.inputs.nixpkgs.follows = "nixpkgs";
nix-colors.url = github:Misterio77/nix-colors;
};
outputs = { self, nixpkgs, home-manager, hyprland, sops-nix, nix-colors }: {
outputs = { self, nixpkgs, home-manager, hyprland, hyprpaper, sops-nix, nix-colors }@attrs: {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
nixosConfigurations = {
thinkpad = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs.inputs = attrs;
modules = [
./hosts/thinkpad
./users/rouven
home-manager.nixosModules.home-manager
sops-nix.nixosModules.sops
{
home-manager.extraSpecialArgs = attrs;
home-manager.users.rouven = {
imports = [
nix-colors.homeManagerModule