hyprexpo 1

This commit is contained in:
Lennart J. Kurzweg (Nx2)
2024-04-11 14:59:16 +02:00
parent 111b46f442
commit b070616b6b
4 changed files with 321 additions and 75 deletions

View File

@@ -4,11 +4,23 @@
inputs = {
nixpkgs.url = "nixpkgs/nixos-23.11";
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
home-manager = {
url = "github:nix-community/home-manager/release-23.11";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/Hyprland";
# inputs.nixpkgs.follows = "nixpkgs";
};
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
};
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }:
outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, ... }@inputs:
# outputs = { self, nixpkgs, nixpkgs-unstable, home-manager, hyprland, ... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@@ -50,24 +62,24 @@
rice = {
transparency = "0.9";
color = rec {
background = "000000"; # #000000
foreground = "dddddd"; # #dddddd
black = "282B35"; # #282B35
bright-black = "686A71"; # #686A71
blue = "9d00ff"; # #9d00ff
bright-blue = "c76eff"; # #c76eff
cyan = "00ddff"; # #00ddff
bright-cyan = "33f9ff"; # #33f9ff
green = "0048ff"; # #0048ff
bright-green = "1166ff"; # #1166ff
magenta = "B21889"; # #B21889
bright-magenta = "ff75f6"; # #ff75f6
red = "ff0044"; # #ff0044
bright-red = "ff4576"; # #ff4576
white = "939599"; # #939599
bright-white = "ffffff"; # #ffffff
yellow = "ff4000"; # #ff4000
bright-yellow = "ff8454"; # #ff8454
background = "000000"; # #000000
foreground = "dddddd"; # #dddddd
black = "282B35"; # #282B35
bright-black = "686A71"; # #686A71
blue = "9d00ff"; # #9d00ff
bright-blue = "c76eff"; # #c76eff
cyan = "00ddff"; # #00ddff
bright-cyan = "33f9ff"; # #33f9ff
green = "0048ff"; # #0048ff
bright-green = "1166ff"; # #1166ff
magenta = "B21889"; # #B21889
bright-magenta = "ff75f6"; # #ff75f6
red = "ff0044"; # #ff0044
bright-red = "ff4576"; # #ff4576
white = "939599"; # #939599
bright-white = "ffffff"; # #ffffff
yellow = "ff4000"; # #ff4000
bright-yellow = "ff8454"; # #ff8454
border = red;
};
font = {
@@ -84,40 +96,28 @@
in
{
nixosConfigurations = {
NxXPS =
let
host = "NxXPS";
in
nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./configuration.nix
];
specialArgs = { inherit user host pkgs-unstable allowed secrets rice nvidia; };
};
NxNORTH =
let
host = "NxNORTH";
in
nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./configuration.nix
];
specialArgs = { inherit user host pkgs-unstable allowed secrets rice nvidia; };
};
NxXPS = let host = "NxXPS"; in nixpkgs.lib.nixosSystem {
inherit system;
modules = [ ./configuration.nix ];
specialArgs = { inherit inputs user host pkgs-unstable allowed secrets rice nvidia; };
};
NxNORTH = let host = "NxNORTH"; in nixpkgs.lib.nixosSystem {
inherit system;
modules = [ ./configuration.nix ];
specialArgs = { inherit inputs user host pkgs-unstable allowed secrets rice nvidia; };
};
};
homeConfigurations = {
NxXPS = home-manager.lib.homeManagerConfiguration {
NxXPS = let host = "NxXPS"; in home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home.nix ];
extraSpecialArgs = let host = "NxXPS"; in { inherit system user host allowed secrets pkgs-unstable rice nvidia; };
extraSpecialArgs = { inherit inputs system user host allowed secrets pkgs-unstable rice nvidia; };
};
NxNORTH = home-manager.lib.homeManagerConfiguration {
NxNORTH = let host = "NxNORTH"; in home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [ ./home.nix ];
extraSpecialArgs = let host = "NxNORTH"; in { inherit system user host allowed secrets pkgs-unstable rice nvidia; };
extraSpecialArgs = { inherit inputs system user host allowed secrets pkgs-unstable rice nvidia; };
};
};
};