ghosty in official channels + input rename
This commit is contained in:
parent
0e2b4b226d
commit
cd99711e01
@ -2,7 +2,8 @@
|
|||||||
description = "JawZ NixOS flake setup";
|
description = "JawZ NixOS flake setup";
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||||
nixpkgs-paint.url = "github:nixos/nixpkgs?ref=nixos-24.05";
|
nixpkgs5.url = "github:nixos/nixpkgs?ref=nixos-24.05";
|
||||||
|
nixpkgs11.url = "github:nixos/nixpkgs?ref=nixos-24.11";
|
||||||
ucodenix.url = "github:e-tho/ucodenix";
|
ucodenix.url = "github:e-tho/ucodenix";
|
||||||
doom-emacs.url = "github:marienz/nix-doom-emacs-unstraightened";
|
doom-emacs.url = "github:marienz/nix-doom-emacs-unstraightened";
|
||||||
ghostty.url = "github:ghostty-org/ghostty";
|
ghostty.url = "github:ghostty-org/ghostty";
|
||||||
@ -48,7 +49,8 @@
|
|||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
pkgs = mkpkgs inputs.nixpkgs;
|
pkgs = mkpkgs inputs.nixpkgs;
|
||||||
pkgsP = mkpkgs inputs.nixpkgs-paint;
|
pkgs5 = mkpkgs inputs.nixpkgs5;
|
||||||
|
pkgs11 = mkpkgs inputs.nixpkgs11;
|
||||||
lib = inputs.nixpkgs.lib // inputs.home-manager.lib;
|
lib = inputs.nixpkgs.lib // inputs.home-manager.lib;
|
||||||
createConfig =
|
createConfig =
|
||||||
name:
|
name:
|
||||||
@ -60,7 +62,7 @@
|
|||||||
modules = [
|
modules = [
|
||||||
{
|
{
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(import ./overlay.nix { inherit pkgs pkgsP; })
|
(import ./overlay.nix { inherit pkgs pkgs5 pkgs11; })
|
||||||
inputs.doom-emacs.overlays.default
|
inputs.doom-emacs.overlays.default
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,38 +12,75 @@
|
|||||||
"resilio/host" = { };
|
"resilio/host" = { };
|
||||||
"resilio/password" = { };
|
"resilio/password" = { };
|
||||||
};
|
};
|
||||||
home-manager.users.jawz.xdg.configFile."jellyfin-rpc/main.json".text = builtins.toJSON {
|
home-manager.users.jawz = {
|
||||||
jellyfin = {
|
programs.ghostty = {
|
||||||
url = "https://flix.servidos.lat";
|
enable = true;
|
||||||
api_key = "abe7cdf35e5c453a9bceb004f4792b4a";
|
package = pkgs.ghostty;
|
||||||
username = "jawz";
|
enableBashIntegration = true;
|
||||||
music = {
|
installBatSyntax = true;
|
||||||
display = [
|
installVimSyntax = true;
|
||||||
"year"
|
settings = { };
|
||||||
"album"
|
themes = {
|
||||||
];
|
catppuccin-mocha = {
|
||||||
separator = "-";
|
background = "1e1e2e";
|
||||||
|
cursor-color = "f5e0dc";
|
||||||
|
foreground = "cdd6f4";
|
||||||
|
palette = [
|
||||||
|
"0=#45475a"
|
||||||
|
"1=#f38ba8"
|
||||||
|
"2=#a6e3a1"
|
||||||
|
"3=#f9e2af"
|
||||||
|
"4=#89b4fa"
|
||||||
|
"5=#f5c2e7"
|
||||||
|
"6=#94e2d5"
|
||||||
|
"7=#bac2de"
|
||||||
|
"8=#585b70"
|
||||||
|
"9=#f38ba8"
|
||||||
|
"10=#a6e3a1"
|
||||||
|
"11=#f9e2af"
|
||||||
|
"12=#89b4fa"
|
||||||
|
"13=#f5c2e7"
|
||||||
|
"14=#94e2d5"
|
||||||
|
"15=#a6adc8"
|
||||||
|
];
|
||||||
|
selection-background = "353749";
|
||||||
|
selection-foreground = "cdd6f4";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
discord = {
|
xdg.configFile."jellyfin-rpc/main.json".text = builtins.toJSON {
|
||||||
application_id = "1311453366978875392";
|
jellyfin = {
|
||||||
buttons = [
|
url = "https://flix.servidos.lat";
|
||||||
{
|
api_key = "abe7cdf35e5c453a9bceb004f4792b4a";
|
||||||
name = "dynamic";
|
username = "jawz";
|
||||||
url = "dynamic";
|
music = {
|
||||||
}
|
display = [
|
||||||
{
|
"year"
|
||||||
name = "dynamic";
|
"album"
|
||||||
url = "dynamic";
|
];
|
||||||
}
|
separator = "-";
|
||||||
];
|
};
|
||||||
};
|
};
|
||||||
imgur = {
|
discord = {
|
||||||
client_id = "1ca05dbfc674d39";
|
application_id = "1311453366978875392";
|
||||||
};
|
buttons = [
|
||||||
images = {
|
{
|
||||||
enable_images = true;
|
name = "dynamic";
|
||||||
imgur_images = true;
|
url = "dynamic";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "dynamic";
|
||||||
|
url = "dynamic";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
imgur = {
|
||||||
|
client_id = "1ca05dbfc674d39";
|
||||||
|
};
|
||||||
|
images = {
|
||||||
|
enable_images = true;
|
||||||
|
imgur_images = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
networking = {
|
networking = {
|
||||||
@ -72,16 +109,14 @@
|
|||||||
users = {
|
users = {
|
||||||
groups.nixremote.gid = 555;
|
groups.nixremote.gid = 555;
|
||||||
users = {
|
users = {
|
||||||
jawz.packages =
|
jawz.packages = builtins.attrValues {
|
||||||
builtins.attrValues {
|
inherit (pkgs)
|
||||||
inherit (pkgs)
|
distrobox # install packages from other os
|
||||||
distrobox # install packages from other os
|
gocryptfs # encrypted filesystem! shhh!!!
|
||||||
gocryptfs # encrypted filesystem! shhh!!!
|
torrenttools # create torrent files from the terminal!
|
||||||
torrenttools # create torrent files from the terminal!
|
# vcsi # video thumbnails for torrents, can I replace it with ^?
|
||||||
# vcsi # video thumbnails for torrents, can I replace it with ^?
|
;
|
||||||
;
|
};
|
||||||
}
|
|
||||||
++ [ inputs.ghostty.packages.x86_64-linux.default ];
|
|
||||||
nixremote = {
|
nixremote = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
createHome = true;
|
createHome = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user