mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-02-04 08:16:48 +05:30
Compare commits
14 Commits
62eee0efac
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
7f18b96cdd
|
|||
|
3a46142f6f
|
|||
|
78e8aaf4e0
|
|||
|
7e8039488a
|
|||
|
8aa79d767a
|
|||
|
705b6c8cf9
|
|||
|
759874689f
|
|||
|
dba0beefbd
|
|||
|
063dd3b580
|
|||
|
5f0c07204e
|
|||
|
7069de5b41
|
|||
|
048cb87087
|
|||
|
f0417f10f0
|
|||
|
4a4f2430b8
|
12
flake.lock
generated
12
flake.lock
generated
@@ -1754,11 +1754,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1768004101,
|
||||
"narHash": "sha256-HxDuXmaohwUlvsRN4dCDmooi6cH99YGJgVt4lcYyT0w=",
|
||||
"lastModified": 1770153913,
|
||||
"narHash": "sha256-tEpHZWabgnncAaNA7ShJX82kZ10wAG87ZJyt9wAs0UQ=",
|
||||
"owner": "tuxdotrs",
|
||||
"repo": "tpanel",
|
||||
"rev": "38b6cfb89a63e7d1eccb60352d16464f83c9357e",
|
||||
"rev": "bd05b722f534ae58fb07bec27fdbead006cc1ba7",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -1774,11 +1774,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1765486106,
|
||||
"narHash": "sha256-zeUFIAb07Dgg/ClkI92wb1YFGtLnvTi4Is4A1CkVt3Q=",
|
||||
"lastModified": 1769515279,
|
||||
"narHash": "sha256-uEUJVeCeFV7r0dd4sdQCXSwqFaB5ryCAuD6/xj9fpHc=",
|
||||
"owner": "tuxdotrs",
|
||||
"repo": "trok",
|
||||
"rev": "cb31ac762c404f8edb6edd2e985666009f9952fe",
|
||||
"rev": "f586506180cbe16dafeb286ff766715f68851a5b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -1,17 +1,21 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
imports = [
|
||||
../../modules/home/desktop/awesome
|
||||
../../modules/home/desktop/hyprland
|
||||
../../modules/home/desktop/vicinae
|
||||
../../modules/home/picom
|
||||
../../modules/home/alacritty
|
||||
../../modules/home/wezterm
|
||||
@@ -59,6 +60,7 @@
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
antigravity
|
||||
telegram-desktop
|
||||
anydesk
|
||||
rustdesk-flutter
|
||||
@@ -74,8 +76,10 @@
|
||||
copyq
|
||||
vlc
|
||||
tor-browser
|
||||
vivaldi
|
||||
bluetui
|
||||
impala
|
||||
pulseaudio
|
||||
];
|
||||
|
||||
home.persistence."/persist" = {
|
||||
@@ -95,8 +99,11 @@
|
||||
".rustup"
|
||||
".cargo"
|
||||
".steam"
|
||||
".cache/spotifyd"
|
||||
".cache/spotify-player"
|
||||
".config/BraveSoftware"
|
||||
".config/vivaldi"
|
||||
".config/Antigravity"
|
||||
".config/copyq"
|
||||
".config/discord"
|
||||
".config/Vencord"
|
||||
@@ -115,6 +122,7 @@
|
||||
".local/share/TelegramDesktop"
|
||||
".local/state/lazygit"
|
||||
".local/share/steam"
|
||||
".local/share/vicinae"
|
||||
];
|
||||
files = [
|
||||
".wakatime.cfg"
|
||||
|
||||
@@ -1,17 +1,21 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
inputs,
|
||||
username,
|
||||
...
|
||||
}:
|
||||
{
|
||||
}: {
|
||||
imports = [
|
||||
inputs.disko.nixosModules.default
|
||||
|
||||
|
||||
@@ -1,17 +1,21 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = ["kvm-amd"];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
||||
@@ -1,24 +1,28 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.initrd.availableKernelModules = [];
|
||||
boot.initrd.kernelModules = [];
|
||||
boot.kernelModules = [];
|
||||
boot.extraModulePackages = [];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
};
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
swapDevices = [];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
bold.family = "JetBrainsMono Nerd Font";
|
||||
italic.family = "JetBrainsMono Nerd Font";
|
||||
bold_italic.family = "JetBrainsMono Nerd Font";
|
||||
size = 16;
|
||||
size = 12;
|
||||
};
|
||||
|
||||
window = {
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
terminal = "wezterm";
|
||||
floating_terminal = "wezterm start --class wezterm-floating";
|
||||
editor = "wezterm -e nvim";
|
||||
browser = "brave";
|
||||
browser = "vivaldi";
|
||||
spotify = "wezterm start --class wezterm-floating -e spotify_player";
|
||||
filemanager = "wezterm start --class wezterm-floating -e superfile";
|
||||
in {
|
||||
@@ -74,6 +74,7 @@
|
||||
misc = {
|
||||
disable_hyprland_logo = true;
|
||||
force_default_wallpaper = 1;
|
||||
focus_on_activate = true;
|
||||
};
|
||||
|
||||
ecosystem = {
|
||||
@@ -160,7 +161,6 @@
|
||||
#-- Window Rules
|
||||
# See https://wiki.hyprland.org/Configuring/Window-Rules
|
||||
windowrule = [
|
||||
"float on, center on, size 900 700, match:class com.github.hluk.copyq"
|
||||
"float on, center on, size 800 600, match:class org.pulseaudio.pavucontrol"
|
||||
|
||||
# Wezterm and Ghostty floating terminal
|
||||
@@ -171,8 +171,8 @@
|
||||
# KDE Connect
|
||||
"float on, center on, size 900 700, match:class (org.kde.kdeconnect.sms|org.kde.kdeconnect.app)"
|
||||
|
||||
"match:workspace 3 silent, match:class (firefox|Brave-browser)"
|
||||
"match:workspace 5 silent, match:class (discord|org.telegram.desktop)"
|
||||
"workspace 3 silent, match:class (firefox|brave-browser)"
|
||||
"workspace 5 silent, match:class (discord|org.telegram.desktop)"
|
||||
];
|
||||
|
||||
plugin = {
|
||||
@@ -197,19 +197,20 @@
|
||||
bind = [
|
||||
# apps
|
||||
"SUPER, Return, exec, ${terminal}"
|
||||
"SUPER, Space, exec, vicinae toggle"
|
||||
"SUPER, F, exec, ${filemanager}"
|
||||
"SUPER, E, exec, ${editor}"
|
||||
"SUPER, B, exec, ${browser}"
|
||||
"SUPER, G, exec, GalaxyBudsClient"
|
||||
"SUPER, D, exec, discord"
|
||||
"SUPER, T, exec, Telegram"
|
||||
"SUPER, S, exec, ${spotify}"
|
||||
"SUPER, V, exec, copyq show"
|
||||
"SUPER, V, exec, vicinae vicinae://extensions/vicinae/clipboard/history"
|
||||
|
||||
"SUPER_SHIFT, Return, exec, ${floating_terminal}"
|
||||
"SUPER_SHIFT, S, exec, flameshot gui"
|
||||
|
||||
# tpanel
|
||||
"SUPER, A, exec, ags toggle launcher"
|
||||
"SUPER_SHIFT, B, exec, ags toggle bar"
|
||||
"SUPER_SHIFT, C, exec, ags toggle control-center"
|
||||
"SUPER_SHIFT, W, exec, ags toggle wallpaper-manager"
|
||||
@@ -269,6 +270,7 @@
|
||||
"SUPER_CTRL, right, resizeactive, 20 0"
|
||||
"SUPER_CTRL, up, resizeactive, 0 -20"
|
||||
"SUPER_CTRL, down, resizeactive, 0 20"
|
||||
"SUPER_CTRL, equal, exec, hyprctl dispatch layoutmsg mfact exact 0.5;"
|
||||
|
||||
# move active (Floating Only)
|
||||
"SUPER_ALT, left, moveactive, -20 0"
|
||||
@@ -299,7 +301,6 @@
|
||||
|
||||
"hyprpaper"
|
||||
"${pkgs.tpanel}/bin/tpanel"
|
||||
"copyq"
|
||||
"kdeconnectd"
|
||||
"kdeconnect-indicator"
|
||||
];
|
||||
|
||||
37
modules/home/desktop/vicinae/default.nix
Normal file
37
modules/home/desktop/vicinae/default.nix
Normal file
@@ -0,0 +1,37 @@
|
||||
{...}: {
|
||||
programs.vicinae = {
|
||||
enable = true;
|
||||
systemd = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
};
|
||||
useLayerShell = true;
|
||||
|
||||
settings = {
|
||||
close_on_focus_loss = false;
|
||||
consider_preedit = true;
|
||||
pop_to_root_on_close = true;
|
||||
favicon_service = "twenty";
|
||||
search_files_in_root = true;
|
||||
font = {
|
||||
normal = {
|
||||
size = 10;
|
||||
family = "JetBrainsMono Nerd Font";
|
||||
};
|
||||
};
|
||||
theme = {
|
||||
light = {
|
||||
name = "vicinae-light";
|
||||
icon_theme = "default";
|
||||
};
|
||||
dark = {
|
||||
name = "vicinae-dark";
|
||||
icon_theme = "default";
|
||||
};
|
||||
};
|
||||
launcher_window = {
|
||||
opacity = 0.98;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
window-padding-x = 10
|
||||
window-padding-y = 10
|
||||
background-opacity = 0.9
|
||||
font-size = 14
|
||||
font-size = 12
|
||||
|
||||
palette = 0=#252b37
|
||||
palette = 1=#d0679d
|
||||
|
||||
@@ -1,4 +1,17 @@
|
||||
{
|
||||
services.spotifyd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
device_name = "canopus";
|
||||
device_type = "computer";
|
||||
bitrate = 320;
|
||||
volume_normalisation = true;
|
||||
autoplay = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.spotify-player = {
|
||||
enable = true;
|
||||
settings = {
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
config.font = wezterm.font_with_fallback {
|
||||
'JetBrainsMono Nerd Font',
|
||||
}
|
||||
config.font_size = 14.0
|
||||
config.font_size = 12.0
|
||||
config.window_background_opacity = 1
|
||||
config.audible_bell = "Disabled"
|
||||
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
xdg.mime = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"application/pdf" = ["brave-browser.desktop"];
|
||||
"text/html" = ["brave-browser.desktop"];
|
||||
"x-scheme-handler/http" = ["brave-browser.desktop"];
|
||||
"x-scheme-handler/https" = ["brave-browser.desktop"];
|
||||
"x-scheme-handler/about" = ["brave-browser.desktop"];
|
||||
"x-scheme-handler/unknown" = ["brave-browser.desktop"];
|
||||
"application/pdf" = ["vivaldi.desktop"];
|
||||
"text/html" = ["vivaldi.desktop"];
|
||||
"x-scheme-handler/http" = ["vivaldi.desktop"];
|
||||
"x-scheme-handler/https" = ["vivaldi.desktop"];
|
||||
"x-scheme-handler/about" = ["vivaldi.desktop"];
|
||||
"x-scheme-handler/unknown" = ["vivaldi.desktop"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user