multiple updates

This commit is contained in:
2025-11-18 04:22:01 +03:00
parent 1c3787a3d6
commit ccc2cdab20
10 changed files with 68 additions and 212 deletions
+3 -3
View File
@@ -3,9 +3,9 @@
{
programs.git = {
enable = true;
userEmail = "gudovdo@my.msu.ru";
userName = "Krosh";
extraConfig.pull.rebase = true;
userEmail = "your email";
userName = "your name";
};
}
-1
View File
@@ -1 +0,0 @@
# TODO
+19 -1
View File
@@ -1,13 +1,31 @@
{ config, pkgs, ... }:
# TODO:
# - make shortcuts for hyprctl commands
# - split into multiple files
# - configure comands like hyprpaper, waybar, etc.
{
home.packages = with pkgs; [ hyprland ];
home.packages = with pkgs; [
hyprland # already in nixos modules, but here for hyprctl
brightnessctl
];
programs.hyprpanel = {
enable = true;
systemd.enable = true;
};
programs.fuzzel.enable = true;
wayland.windowManager.hyprland.settings = {
exec-once = [
# Fixes cursor themes in gnome apps under hyprland
"gsettings set org.gnome.desktop.interface cursor-theme '${config.home.pointerCursor.name}'"
"gsettings set org.gnome.desktop.interface cursor-size ${
toString config.home.pointerCursor.size
}"
];
};
# wayland.windowManager.hyprland = {
# enable = true;
+5 -6
View File
@@ -19,16 +19,15 @@
background_blur = 5;
confirm_os_window_close = 0;
map = ''
ctrl+c copy_or_interrupt
ctrl+v paste_from_clipboard
ctrl+shift+v paste_from_clipboard
'';
shell = "${pkgs.zsh}/bin/zsh";
};
keybindings = { "ctrl+shift+enter" = "new_window_with_cwd"; };
keybindings = {
"ctrl+shift+enter" = "new_window_with_cwd";
"ctrl+c" = "copy_or_interrupt";
"ctrl+v" = "paste_from_clipboard";
};
extraConfig = ''
# --- Catppuccin Mocha (dark) theme ---
+6 -142
View File
@@ -1,151 +1,15 @@
{ inputs, config, lib, pkgs, ... }:
{
home.packages = with pkgs; [
telegram-desktop
vscode
spotify
brightnessctl
];
# TODO: split into multiple files
{
home.packages = with pkgs; [ telegram-desktop vscode spotify ];
# do i really need it?
programs.direnv.enable = true;
programs.direnv.nix-direnv.enable = true;
programs.direnv.enableZshIntegration = true;
imports = [ inputs.zen-browser.homeModules.twilight ];
programs.zen-browser = {
enable = true;
# any other options under `programs.firefox` are also supported here.
# see `man home-configuration.nix`.
};
programs.anyrun.enable = true;
programs.anyrun.config = {
x = { fraction = 0.5; };
y = { absolute = 0; };
width = { absolute = 800; };
height = { absolute = 1; };
hideIcons = false;
ignoreExclusiveZones = false;
layer = "overlay";
hidePluginInfo = false;
closeOnClick = false;
showResultsImmediately = false;
maxEntries = null;
plugins =
[ "libapplications.so" "libsymbols.so" "libshell.so" "libtranslate.so" ];
# keybinds = [
# {
# key = "Return";
# action = "Select";
# }
# {
# key = "Up";
# action = "Up";
# }
# {
# key = "Down";
# action = "Down";
# }
# {
# key = "ISO_Left_Tab";
# action = "Up";
# shift = true;
# }
# {
# key = "Tab";
# action = "Down";
# }
# {
# key = "Escape";
# action = "Close";
# }
# ];
};
# programs.anyrun.extraConfigFiles."config.ron".text = ''
# Config(
# // Position/size fields use an enum for the value, it can be either:
# // Absolute(n): The absolute value in pixels
# // Fraction(n): A fraction of the width or height of the full screen (depends on exclusive zones and the settings related to them) window respectively
# // The horizontal position, adjusted so that Relative(0.5) always centers the runner
# x: Fraction(0.5),
# // The vertical position, works the same as `x`
# y: Absolute(0),
# // The width of the runner
# width: Absolute(800),
# // The minimum height of the runner, the runner will expand to fit all the entries
# // NOTE: If this is set to 0, the window will never shrink after being expanded
# height: Absolute(1),
# // Hide match and plugin info icons
# hide_icons: false,
# // ignore exclusive zones, f.e. Waybar
# ignore_exclusive_zones: false,
# // Layer shell layer: Background, Bottom, Top, Overlay
# layer: Overlay,
# // Hide the plugin info panel
# hide_plugin_info: false,
# // Close window when a click outside the main box is received
# close_on_click: false,
# // Show search results immediately when Anyrun starts
# show_results_immediately: false,
# // Limit amount of entries shown in total
# max_entries: None,
# // List of plugins to be loaded by default, can be specified with a relative path to be loaded from the
# // `<anyrun config dir>/plugins` directory or with an absolute path to just load the file the path points to.
# //
# // The order of plugins here specifies the order in which they appear
# // in the results. As in it works as a priority for the plugins.
# plugins: [
# "libapplications.so",
# "libsymbols.so",
# "libshell.so",
# "libtranslate.so",
# ],
# keybinds: [
# Keybind(
# key: "Return",
# action: Select,
# ),
# Keybind(
# key: "Up",
# action: Up,
# ),
# Keybind(
# key: "Down",
# action: Down,
# ),
# Keybind(
# key: "ISO_Left_Tab",
# action: Up,
# shift: true,
# ),
# Keybind(
# key: "Tab",
# action: Down,
# ),
# Keybind(
# key: "Escape",
# action: Close,
# ),
# ],
# )
# '';
programs.zen-browser = { enable = true; };
}
+3 -3
View File
@@ -67,9 +67,9 @@
amnezia = ''
(pgrep -x ".AmneziaVPN-ser" > /dev/null 2>&1 || sudo AmneziaVPN-service > /dev/null 2>&1 &) &
AmneziaVPN > /dev/null 2>&1 &
''; # i don't know any good ways for it.
mkenv = ''
echo "use nix" > .envrc && touch default.nix && direnv allow && echo " env created"'';
''; # TODO: start system with service
# mkenv = ''
# echo "use nix" > .envrc && touch default.nix && direnv allow && echo "✓ env created"'';
};