mega north

This commit is contained in:
2024-04-09 22:56:52 +02:00
parent cb121e283c
commit c751220c33
11 changed files with 287 additions and 186 deletions

View File

@@ -19,7 +19,7 @@
enable = true;
prime = true;
# unfree = if enable then [
unfree = [
unfree = [
"nvidia-x11"
"nvidia-settings"
"nvidia-persistenced"
@@ -38,27 +38,36 @@
"zoom-us"
"zoom"
"vscode-extension-MS-python-vscode-pylance"
] ++ nvidia.unfree ;
] ++ nvidia.unfree;
inecure-packages = [
"electron-25.9.0"
];
];
};
secrets = import ./secrets/passwords-and-certificates.nix;
rice = {
transparency = "0.8";
colors = rec {
main-fg = "#ffffff";
main-bg = "#000000";
bubble-fg = main-fg;
bubble-bg = "#222222";
bubble-border = "#bbbbbb";
secondary-fg = main-fg;
secondary-bg = "#111133";
lines = "#bbbbbb";
accent = "#ff00ff";
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
};
font = {
code = {
@@ -74,34 +83,41 @@
in
{
nixosConfigurations = {
NxXPS = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./configuration.nix
];
specialArgs = let host = "NxXPS"; in { inherit user host pkgs-unstable allowed secrets rice nvidia; };
};
NxNORTH = nixpkgs.lib.nixosSystem {
inherit system;
modules = [
./configuration.nix
];
specialArgs = let host = "NxNORTH"; in { inherit user host pkgs-unstable allowed secrets rice nvidia; };
};
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; };
};
};
homeConfigurations = {
NxXPS = 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 = let host = "NxXPS"; in { inherit system user host allowed secrets pkgs-unstable rice nvidia; };
};
NxNORTH = 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 = let host = "NxNORTH"; in { inherit system user host allowed secrets pkgs-unstable rice nvidia; };
};
};
};
}