gtk theme

This commit is contained in:
thek4n 2026-08-17 00:39:02 +03:00
parent f72e228239
commit 784a9612b5
5 changed files with 2 additions and 159 deletions

View File

@ -49,6 +49,8 @@ ctrl-g:preview-bottom,\
tab:replace-query\ tab:replace-query\
" "
export GTK_THEME=Adwaita:dark
export BROWSERCLI=w3m export BROWSERCLI=w3m
test -z "${BROWSER}" && BROWSER=firefox test -z "${BROWSER}" && BROWSER=firefox
export BROWSER export BROWSER

View File

@ -1,26 +0,0 @@
{
description = "NixOS configuration with flakes";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
nixosConfigurations.thek4n = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/thek4n/default.nix
./hosts/thek4n/home.nix
];
};
# `nixos-rebuild switch --flake .#thek4n`
default = self.nixosConfigurations.thek4n;
};
}

View File

@ -1,77 +0,0 @@
{ config, pkgs, inputs, ... }:
{
imports = [
./hardware.nix
];
# Использование grub
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
networking.hostName = "thek4n";
networking.networkmanager.enable = true;
time.timeZone = "Europe/Moscow";
i18n.defaultLocale = "en_US.UTF-8";
services.printing.enable = true;
services.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
services.openssh.enable = true;
services.greetd = {
enable = true;
settings = {
default_session = {
command = "${pkgs.tuigreet}/bin/tuigreet --time --cmd sway";
user = "greeter";
};
};
};
users.user."thek4n" = {
isNormalUser = true;
description = "thek4n";
extraGroups = [ "networkmanager" "wheel" "docker" "uucp" "input" "fuse" ];
packages = with pkgs; [ ];
initialPassword = "changeme";
shell = pkgs.zsh;
};
environment.systemPackages = with pkgs; [
alacritty bat brightnessctl ctags fd ffmpeg fzf glow
grim highlight imagemagick jq yq kanshi less lesspipe mako
man mpv noto-fonts p7zip poppler resvg ripgrep rofi slurp
socat sway swaybg swayidle swaylock tmux tree-sitter ueberzug
waybar wget wl-clipboard wlr-randr wtype yazi ydotool zoxide
docker httpie exa zsh
];
programs.firefox.enable = true;
programs.sway = {
enable = true;
};
environment.etc."sway/config" = {
text = ''
set $mod Mod4
set $term alacritty
bindsym $mod+Return exec $term
'';
};
system.stateVersion = "26.05";
}

View File

@ -1 +0,0 @@
todo:

View File

@ -1,55 +0,0 @@
{ config, pkgs, inputs, ... }:
{
imports = [
inputs.home-manager.nixosModules.home-manager
];
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
users.thek4n = { pkgs, ... }: {
home.homeDirectory = "/home/thek4n";
home.username = "thek4n";
home.stateVersion = "24.11";
home.packages = with pkgs; [ ];
programs.git = {
enable = true;
userName = "thek4n";
userEmail = "thek4n@yandex.ru";
extraConfig = {
init.defaultBranch = "main";
pull.rebase = false;
core.editor = "nvim";
};
};
programs.zsh = {
enable = true;
enableCompletion = true;
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
};
programs.neovim = {
enable = true;
viAlias = true;
defaultEditor = true;
};
programs.git = {
enable = true;
userName = "thek4n";
userEmail = "thek4n@yandex.ru";
};
# home.file.".config/nvim/init.lua".source = ./nvim/init.lua;
# home.file.".zshrc".source = ./zsh/.zshrc;
# home.file.".gitconfig".source = ./git/.gitconfig;
};
};
};