add desktop shit for streaming
This commit is contained in:
parent
1f531eeff3
commit
8dc8824095
4 changed files with 63 additions and 40 deletions
17
flake.lock
generated
17
flake.lock
generated
|
|
@ -234,6 +234,7 @@
|
||||||
"nixcord": "nixcord",
|
"nixcord": "nixcord",
|
||||||
"nixpkgs": "nixpkgs_3",
|
"nixpkgs": "nixpkgs_3",
|
||||||
"tt-discord": "tt-discord",
|
"tt-discord": "tt-discord",
|
||||||
|
"tt-gtk": "tt-gtk",
|
||||||
"tt-schemes": "tt-schemes",
|
"tt-schemes": "tt-schemes",
|
||||||
"tt-terminal": "tt-terminal"
|
"tt-terminal": "tt-terminal"
|
||||||
}
|
}
|
||||||
|
|
@ -290,6 +291,22 @@
|
||||||
"url": "https://git.lucy.rip/lucy/tinted-discord.git"
|
"url": "https://git.lucy.rip/lucy/tinted-discord.git"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"tt-gtk": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1781724602,
|
||||||
|
"narHash": "sha256-UOBqSP+4PcbcR9S2hvhsH/V3U6ldFfV+QIjuObIgmTU=",
|
||||||
|
"ref": "refs/heads/main",
|
||||||
|
"rev": "f4d739fdb3c24886db4ceefac6e88703aca78bf6",
|
||||||
|
"revCount": 5,
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.lucy.rip/lucy/tinted-gtk.git"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://git.lucy.rip/lucy/tinted-gtk.git"
|
||||||
|
}
|
||||||
|
},
|
||||||
"tt-schemes": {
|
"tt-schemes": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,10 @@
|
||||||
url = "git+https://git.lucy.rip/lucy/tinted-discord.git";
|
url = "git+https://git.lucy.rip/lucy/tinted-discord.git";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
tt-gtk = {
|
||||||
|
url = "git+https://git.lucy.rip/lucy/tinted-gtk.git";
|
||||||
|
flake = false;
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
outputs =
|
outputs =
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,21 @@
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
networking.networkmanager.enable = true;
|
networking.networkmanager.enable = true;
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
security.polkit = {
|
||||||
|
enable = true;
|
||||||
|
enablePkexecWrapper = true;
|
||||||
|
};
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
pkgs.xdg-desktop-portal-gnome
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
common.default = [ "gnome" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
nix.settings.experimental-features = [
|
nix.settings.experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
|
|
@ -25,7 +40,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
users.users.lucy = {
|
users.users.lucy = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
@ -41,6 +56,12 @@
|
||||||
git
|
git
|
||||||
clang
|
clang
|
||||||
xournalpp
|
xournalpp
|
||||||
|
ripgrep
|
||||||
|
bat
|
||||||
|
ani-cli
|
||||||
|
thunar
|
||||||
|
thunar-volman
|
||||||
|
|
||||||
];
|
];
|
||||||
programs.xppen = {
|
programs.xppen = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
inputs,
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
...
|
...
|
||||||
|
|
@ -49,45 +50,25 @@ in
|
||||||
};
|
};
|
||||||
cursorTheme.name = "macOS";
|
cursorTheme.name = "macOS";
|
||||||
cursorTheme.size = 24;
|
cursorTheme.size = 24;
|
||||||
gtk3.extraCss = ''
|
gtk3.extraCss = builtins.readFile (config.scheme inputs.tt-gtk);
|
||||||
@define-color theme_bg_color ${c.base00};
|
gtk4.extraCss = builtins.readFile (config.scheme inputs.tt-gtk);
|
||||||
@define-color theme_fg_color ${c.base05};
|
|
||||||
@define-color theme_base_color ${c.base00};
|
|
||||||
@define-color theme_text_color ${c.base05};
|
|
||||||
@define-color theme_selected_bg_color ${c.base0D};
|
|
||||||
@define-color theme_selected_fg_color ${c.base00};
|
|
||||||
@define-color insensitive_bg_color ${c.base01};
|
|
||||||
@define-color insensitive_fg_color ${c.base03};
|
|
||||||
@define-color borders ${c.base02};
|
|
||||||
@define-color warning_color ${c.base0A};
|
|
||||||
@define-color error_color ${c.base08};
|
|
||||||
@define-color success_color ${c.base0B};
|
|
||||||
'';
|
|
||||||
gtk4.extraCss = ''
|
|
||||||
@define-color window_bg_color ${c.base00};
|
|
||||||
@define-color window_fg_color ${c.base05};
|
|
||||||
@define-color view_bg_color ${c.base00};
|
|
||||||
@define-color view_fg_color ${c.base05};
|
|
||||||
@define-color headerbar_bg_color ${c.base01};
|
|
||||||
@define-color headerbar_fg_color ${c.base05};
|
|
||||||
@define-color headerbar_border_color ${c.base02};
|
|
||||||
@define-color sidebar_bg_color ${c.base01};
|
|
||||||
@define-color sidebar_fg_color ${c.base05};
|
|
||||||
@define-color card_bg_color ${c.base01};
|
|
||||||
@define-color card_fg_color ${c.base05};
|
|
||||||
@define-color popover_bg_color ${c.base01};
|
|
||||||
@define-color popover_fg_color ${c.base05};
|
|
||||||
@define-color dialog_bg_color ${c.base01};
|
|
||||||
@define-color dialog_fg_color ${c.base05};
|
|
||||||
@define-color accent_bg_color ${c.base0D};
|
|
||||||
@define-color accent_fg_color ${c.base00};
|
|
||||||
@define-color accent_color ${c.base0D};
|
|
||||||
@define-color destructive_bg_color ${c.base08};
|
|
||||||
@define-color destructive_color ${c.base08};
|
|
||||||
@define-color warning_color ${c.base0A};
|
|
||||||
@define-color error_color ${c.base08};
|
|
||||||
@define-color success_color ${c.base0B};
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
niri = {
|
||||||
|
default = [
|
||||||
|
"gnome"
|
||||||
|
"gtk"
|
||||||
|
];
|
||||||
|
"org.freedesktop.impl.portal.Access" = [ "gtk" ];
|
||||||
|
|
||||||
|
"org.freedesktop.impl.portal.Notification" = [ "gtk" ];
|
||||||
|
"org.freedesktop.impl.portal.Secret" = [ "gnome-keyring" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.polkit-gnome.enable = true; # polkit
|
||||||
dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue