mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-02-04 16:26:46 +05:30
Compare commits
37 Commits
7772514fce
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
7f18b96cdd
|
|||
|
3a46142f6f
|
|||
|
78e8aaf4e0
|
|||
|
7e8039488a
|
|||
|
8aa79d767a
|
|||
|
705b6c8cf9
|
|||
|
759874689f
|
|||
|
dba0beefbd
|
|||
|
063dd3b580
|
|||
|
5f0c07204e
|
|||
|
7069de5b41
|
|||
|
048cb87087
|
|||
|
f0417f10f0
|
|||
|
4a4f2430b8
|
|||
|
62eee0efac
|
|||
|
f46e092f2e
|
|||
|
a049a66619
|
|||
|
2d055ab10d
|
|||
|
7d36194e59
|
|||
|
206ff0b1c8
|
|||
|
42b938cdb0
|
|||
|
8e31454fa0
|
|||
|
0b68021269
|
|||
|
fb750000a0
|
|||
|
0f7bb90600
|
|||
|
83513b3b1a
|
|||
|
f71dcfb43c
|
|||
|
61f4af216e
|
|||
|
bb1dce3b3a
|
|||
|
8667f72e87
|
|||
|
87f3d1eacd
|
|||
|
3c846d6c59
|
|||
|
5580c22673
|
|||
|
33f7944296
|
|||
|
86feafcc82
|
|||
|
7b085aa127
|
|||
|
8c17353315
|
599
flake.lock
generated
599
flake.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,10 @@
|
|||||||
{username, ...}: {
|
{...}: {
|
||||||
home.persistence."/persist/home/${username}" = {
|
home.persistence."/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
"Projects"
|
"Projects"
|
||||||
".ssh"
|
".ssh"
|
||||||
".local/share/zsh"
|
".local/share/zsh"
|
||||||
];
|
];
|
||||||
allowOther = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
../../modules/nixos/selfhosted/nextcloud.nix
|
../../modules/nixos/selfhosted/nextcloud.nix
|
||||||
../../modules/nixos/selfhosted/silver-bullet.nix
|
../../modules/nixos/selfhosted/silver-bullet.nix
|
||||||
../../modules/nixos/selfhosted/rustdesk-server.nix
|
../../modules/nixos/selfhosted/rustdesk-server.nix
|
||||||
../../modules/nixos/selfhosted/kasmweb.nix
|
# ../../modules/nixos/selfhosted/kasmweb.nix
|
||||||
../../modules/nixos/selfhosted/open-webui.nix
|
../../modules/nixos/selfhosted/open-webui.nix
|
||||||
../../modules/nixos/selfhosted/glance
|
../../modules/nixos/selfhosted/glance
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
{username, ...}: {
|
{...}: {
|
||||||
home.persistence."/persist/home/${username}" = {
|
home.persistence."/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
"Projects"
|
"Projects"
|
||||||
"Stuff"
|
"Stuff"
|
||||||
".ssh"
|
".ssh"
|
||||||
".local/share/zsh"
|
".local/share/zsh"
|
||||||
];
|
];
|
||||||
allowOther = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|||||||
@@ -103,7 +103,14 @@
|
|||||||
kernelPackages = pkgs.linuxPackages_zen;
|
kernelPackages = pkgs.linuxPackages_zen;
|
||||||
supportedFilesystems = ["ntfs"];
|
supportedFilesystems = ["ntfs"];
|
||||||
|
|
||||||
initrd.systemd = {
|
initrd = {
|
||||||
|
kernelModules = [
|
||||||
|
"vfio_pci"
|
||||||
|
"vfio"
|
||||||
|
"vfio_iommu_type1"
|
||||||
|
];
|
||||||
|
|
||||||
|
systemd = {
|
||||||
enable = lib.mkForce true;
|
enable = lib.mkForce true;
|
||||||
|
|
||||||
services.wipe-my-fs = {
|
services.wipe-my-fs = {
|
||||||
@@ -139,6 +146,7 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
@@ -184,17 +192,16 @@
|
|||||||
programs = {
|
programs = {
|
||||||
ssh.startAgent = true;
|
ssh.startAgent = true;
|
||||||
xfconf.enable = true;
|
xfconf.enable = true;
|
||||||
file-roller.enable = true;
|
|
||||||
thunar = {
|
thunar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.xfce; [
|
plugins = with pkgs; [
|
||||||
thunar-archive-plugin
|
thunar-archive-plugin
|
||||||
thunar-volman
|
thunar-volman
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
nix-ld = {
|
nix-ld = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nix-ld-rs;
|
package = pkgs.nix-ld;
|
||||||
};
|
};
|
||||||
nm-applet.enable = true;
|
nm-applet.enable = true;
|
||||||
noisetorch.enable = true;
|
noisetorch.enable = true;
|
||||||
@@ -394,6 +401,7 @@
|
|||||||
"/var/lib/docker"
|
"/var/lib/docker"
|
||||||
"/var/lib/waydroid"
|
"/var/lib/waydroid"
|
||||||
"/var/lib/iwd"
|
"/var/lib/iwd"
|
||||||
|
"/var/lib/libvirt"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
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.availableKernelModules = ["nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci"];
|
||||||
|
|||||||
@@ -1,11 +1,8 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
pkgs,
|
|
||||||
username,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
imports = [
|
||||||
../../modules/home/desktop/awesome
|
../../modules/home/desktop/awesome
|
||||||
../../modules/home/desktop/hyprland
|
../../modules/home/desktop/hyprland
|
||||||
|
../../modules/home/desktop/vicinae
|
||||||
../../modules/home/picom
|
../../modules/home/picom
|
||||||
../../modules/home/alacritty
|
../../modules/home/alacritty
|
||||||
../../modules/home/wezterm
|
../../modules/home/wezterm
|
||||||
@@ -63,9 +60,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
antigravity
|
||||||
telegram-desktop
|
telegram-desktop
|
||||||
anydesk
|
anydesk
|
||||||
stable.rustdesk-flutter
|
rustdesk-flutter
|
||||||
|
moonlight-qt
|
||||||
rawtherapee
|
rawtherapee
|
||||||
stable.beekeeper-studio
|
stable.beekeeper-studio
|
||||||
libreoffice-qt
|
libreoffice-qt
|
||||||
@@ -77,11 +76,13 @@
|
|||||||
copyq
|
copyq
|
||||||
vlc
|
vlc
|
||||||
tor-browser
|
tor-browser
|
||||||
|
vivaldi
|
||||||
bluetui
|
bluetui
|
||||||
impala
|
impala
|
||||||
|
pulseaudio
|
||||||
];
|
];
|
||||||
|
|
||||||
home.persistence."/persist/home/${username}" = {
|
home.persistence."/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
"Downloads"
|
"Downloads"
|
||||||
"Music"
|
"Music"
|
||||||
@@ -98,8 +99,11 @@
|
|||||||
".rustup"
|
".rustup"
|
||||||
".cargo"
|
".cargo"
|
||||||
".steam"
|
".steam"
|
||||||
|
".cache/spotifyd"
|
||||||
".cache/spotify-player"
|
".cache/spotify-player"
|
||||||
".config/BraveSoftware"
|
".config/BraveSoftware"
|
||||||
|
".config/vivaldi"
|
||||||
|
".config/Antigravity"
|
||||||
".config/copyq"
|
".config/copyq"
|
||||||
".config/discord"
|
".config/discord"
|
||||||
".config/Vencord"
|
".config/Vencord"
|
||||||
@@ -108,6 +112,7 @@
|
|||||||
".config/obs-studio"
|
".config/obs-studio"
|
||||||
".config/rustdesk"
|
".config/rustdesk"
|
||||||
".config/kdeconnect"
|
".config/kdeconnect"
|
||||||
|
".config/Moonlight\ Game\ Streaming\ Project"
|
||||||
".local/share/nvim"
|
".local/share/nvim"
|
||||||
".local/share/opencode"
|
".local/share/opencode"
|
||||||
".local/share/zsh"
|
".local/share/zsh"
|
||||||
@@ -116,12 +121,13 @@
|
|||||||
".local/share/GalaxyBudsClient"
|
".local/share/GalaxyBudsClient"
|
||||||
".local/share/TelegramDesktop"
|
".local/share/TelegramDesktop"
|
||||||
".local/state/lazygit"
|
".local/state/lazygit"
|
||||||
|
".local/share/steam"
|
||||||
|
".local/share/vicinae"
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
".wakatime.cfg"
|
".wakatime.cfg"
|
||||||
".config/aichat/.env"
|
".config/aichat/.env"
|
||||||
];
|
];
|
||||||
allowOther = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.impermanence.nixosModules.home-manager.impermanence
|
|
||||||
inputs.nix-index-database.homeModules.nix-index
|
inputs.nix-index-database.homeModules.nix-index
|
||||||
|
|
||||||
../../modules/home/shell
|
../../modules/home/shell
|
||||||
|
|||||||
@@ -124,7 +124,7 @@
|
|||||||
programs = {
|
programs = {
|
||||||
nix-ld = {
|
nix-ld = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.nix-ld-rs;
|
package = pkgs.nix-ld;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
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.availableKernelModules = ["nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci"];
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{username, ...}: {
|
{...}: {
|
||||||
home.persistence."/persist/home/${username}" = {
|
home.persistence."/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
"Projects"
|
"Projects"
|
||||||
"Stuff"
|
"Stuff"
|
||||||
@@ -15,7 +15,6 @@
|
|||||||
files = [
|
files = [
|
||||||
".wakatime.cfg"
|
".wakatime.cfg"
|
||||||
];
|
];
|
||||||
allowOther = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
ssh.startAgent = true;
|
ssh.startAgent = true;
|
||||||
thunar = {
|
thunar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs.xfce; [
|
plugins = with pkgs; [
|
||||||
thunar-archive-plugin
|
thunar-archive-plugin
|
||||||
thunar-volman
|
thunar-volman
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
inputs,
|
inputs,
|
||||||
username,
|
username,
|
||||||
...
|
...
|
||||||
}:
|
}: {
|
||||||
{
|
|
||||||
imports = [
|
imports = [
|
||||||
inputs.disko.nixosModules.default
|
inputs.disko.nixosModules.default
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"];
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usbhid"];
|
||||||
|
|||||||
@@ -47,6 +47,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
defaultUser = "${username}";
|
defaultUser = "${username}";
|
||||||
useWindowsDriver = true;
|
useWindowsDriver = true;
|
||||||
|
interop.register = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.hostName = "sirius";
|
networking.hostName = "sirius";
|
||||||
@@ -58,7 +59,7 @@
|
|||||||
nix-ld = {
|
nix-ld = {
|
||||||
enable = true;
|
enable = true;
|
||||||
libraries = config.hardware.graphics.extraPackages;
|
libraries = config.hardware.graphics.extraPackages;
|
||||||
package = pkgs.nix-ld-rs;
|
package = pkgs.nix-ld;
|
||||||
};
|
};
|
||||||
|
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
|
|||||||
@@ -1,11 +1,15 @@
|
|||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
config,
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
lib,
|
||||||
|
pkgs,
|
||||||
|
modulesPath,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [];
|
boot.initrd.availableKernelModules = [];
|
||||||
@@ -13,8 +17,8 @@
|
|||||||
boot.kernelModules = [];
|
boot.kernelModules = [];
|
||||||
boot.extraModulePackages = [];
|
boot.extraModulePackages = [];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" = {
|
||||||
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
{username, ...}: {
|
{...}: {
|
||||||
home.persistence."/persist/home/${username}" = {
|
home.persistence."/persist" = {
|
||||||
directories = [
|
directories = [
|
||||||
"Projects"
|
"Projects"
|
||||||
".ssh"
|
".ssh"
|
||||||
".local/share/zsh"
|
".local/share/zsh"
|
||||||
];
|
];
|
||||||
allowOther = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
bold.family = "JetBrainsMono Nerd Font";
|
bold.family = "JetBrainsMono Nerd Font";
|
||||||
italic.family = "JetBrainsMono Nerd Font";
|
italic.family = "JetBrainsMono Nerd Font";
|
||||||
bold_italic.family = "JetBrainsMono Nerd Font";
|
bold_italic.family = "JetBrainsMono Nerd Font";
|
||||||
size = 16;
|
size = 12;
|
||||||
};
|
};
|
||||||
|
|
||||||
window = {
|
window = {
|
||||||
|
|||||||
@@ -31,10 +31,13 @@
|
|||||||
terminal = "wezterm";
|
terminal = "wezterm";
|
||||||
floating_terminal = "wezterm start --class wezterm-floating";
|
floating_terminal = "wezterm start --class wezterm-floating";
|
||||||
editor = "wezterm -e nvim";
|
editor = "wezterm -e nvim";
|
||||||
browser = "brave";
|
browser = "vivaldi";
|
||||||
spotify = "wezterm start --class wezterm-floating -e spotify_player";
|
spotify = "wezterm start --class wezterm-floating -e spotify_player";
|
||||||
filemanager = "wezterm start --class wezterm-floating -e superfile";
|
filemanager = "wezterm start --class wezterm-floating -e superfile";
|
||||||
in {
|
in {
|
||||||
|
# See https://wiki.hyprland.org/Configuring/Multi-GPU
|
||||||
|
env = "AQ_DRM_DEVICES,/dev/dri/card2";
|
||||||
|
|
||||||
#-- Output
|
#-- Output
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors
|
# See https://wiki.hyprland.org/Configuring/Monitors
|
||||||
monitor = "eDP-1,2560x1440@90,0x0,1";
|
monitor = "eDP-1,2560x1440@90,0x0,1";
|
||||||
@@ -71,6 +74,7 @@
|
|||||||
misc = {
|
misc = {
|
||||||
disable_hyprland_logo = true;
|
disable_hyprland_logo = true;
|
||||||
force_default_wallpaper = 1;
|
force_default_wallpaper = 1;
|
||||||
|
focus_on_activate = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
ecosystem = {
|
ecosystem = {
|
||||||
@@ -150,33 +154,25 @@
|
|||||||
mfact = 0.5;
|
mfact = 0.5;
|
||||||
new_on_top = false;
|
new_on_top = false;
|
||||||
orientation = "left";
|
orientation = "left";
|
||||||
inherit_fullscreen = true;
|
|
||||||
smart_resizing = true;
|
smart_resizing = true;
|
||||||
drop_at_cursor = true;
|
drop_at_cursor = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
#-- Window Rules
|
#-- Window Rules
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules
|
# See https://wiki.hyprland.org/Configuring/Window-Rules
|
||||||
windowrulev2 = [
|
windowrule = [
|
||||||
"float, class:com.github.hluk.copyq"
|
"float on, center on, size 800 600, match:class org.pulseaudio.pavucontrol"
|
||||||
"size 800 600, class:com.github.hluk.copyq"
|
|
||||||
|
|
||||||
"float, class:org.pulseaudio.pavucontrol"
|
|
||||||
"size 800 600, class:org.pulseaudio.pavucontrol"
|
|
||||||
|
|
||||||
# Wezterm and Ghostty floating terminal
|
# Wezterm and Ghostty floating terminal
|
||||||
"float, class:(com.ghostty.floating|wezterm-floating)"
|
"float on, center on, size 1200 800, match:class (com.ghostty.floating|wezterm-floating)"
|
||||||
"size 1200 800, class:(com.ghostty.floating|wezterm-floating)"
|
|
||||||
|
|
||||||
"float, class:GalaxyBudsClient"
|
"float on, center on, size 900 700, match:class GalaxyBudsClient"
|
||||||
"size 900 700, class:GalaxyBudsClient"
|
|
||||||
|
|
||||||
# KDE Connect
|
# KDE Connect
|
||||||
"float, class:(org.kde.kdeconnect.sms|org.kde.kdeconnect.app)"
|
"float on, center on, size 900 700, match:class (org.kde.kdeconnect.sms|org.kde.kdeconnect.app)"
|
||||||
"size 900 700, class:(org.kde.kdeconnect.sms|org.kde.kdeconnect.app)"
|
|
||||||
|
|
||||||
"workspace 3 silent, class:(firefox|Brave-browser)"
|
"workspace 3 silent, match:class (firefox|brave-browser)"
|
||||||
"workspace 5 silent, class:(discord|org.telegram.desktop)"
|
"workspace 5 silent, match:class (discord|org.telegram.desktop)"
|
||||||
];
|
];
|
||||||
|
|
||||||
plugin = {
|
plugin = {
|
||||||
@@ -185,14 +181,14 @@
|
|||||||
gap_size = 5;
|
gap_size = 5;
|
||||||
bg_col = "rgb(111111)";
|
bg_col = "rgb(111111)";
|
||||||
workspace_method = "center current";
|
workspace_method = "center current";
|
||||||
|
|
||||||
enable_gesture = true;
|
|
||||||
gesture_fingers = 3;
|
|
||||||
gesture_distance = 300;
|
gesture_distance = 300;
|
||||||
gesture_positive = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gesture = [
|
||||||
|
"3, horizontal, workspace"
|
||||||
|
];
|
||||||
|
|
||||||
bindm = [
|
bindm = [
|
||||||
"SUPER,mouse:273,resizewindow"
|
"SUPER,mouse:273,resizewindow"
|
||||||
"SUPER,mouse:272,movewindow"
|
"SUPER,mouse:272,movewindow"
|
||||||
@@ -201,19 +197,20 @@
|
|||||||
bind = [
|
bind = [
|
||||||
# apps
|
# apps
|
||||||
"SUPER, Return, exec, ${terminal}"
|
"SUPER, Return, exec, ${terminal}"
|
||||||
|
"SUPER, Space, exec, vicinae toggle"
|
||||||
"SUPER, F, exec, ${filemanager}"
|
"SUPER, F, exec, ${filemanager}"
|
||||||
"SUPER, E, exec, ${editor}"
|
"SUPER, E, exec, ${editor}"
|
||||||
"SUPER, B, exec, ${browser}"
|
"SUPER, B, exec, ${browser}"
|
||||||
"SUPER, G, exec, GalaxyBudsClient"
|
"SUPER, G, exec, GalaxyBudsClient"
|
||||||
"SUPER, D, exec, discord"
|
"SUPER, D, exec, discord"
|
||||||
|
"SUPER, T, exec, Telegram"
|
||||||
"SUPER, S, exec, ${spotify}"
|
"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, Return, exec, ${floating_terminal}"
|
||||||
"SUPER_SHIFT, S, exec, flameshot gui"
|
"SUPER_SHIFT, S, exec, flameshot gui"
|
||||||
|
|
||||||
# tpanel
|
# tpanel
|
||||||
"SUPER, A, exec, ags toggle launcher"
|
|
||||||
"SUPER_SHIFT, B, exec, ags toggle bar"
|
"SUPER_SHIFT, B, exec, ags toggle bar"
|
||||||
"SUPER_SHIFT, C, exec, ags toggle control-center"
|
"SUPER_SHIFT, C, exec, ags toggle control-center"
|
||||||
"SUPER_SHIFT, W, exec, ags toggle wallpaper-manager"
|
"SUPER_SHIFT, W, exec, ags toggle wallpaper-manager"
|
||||||
@@ -273,6 +270,7 @@
|
|||||||
"SUPER_CTRL, right, resizeactive, 20 0"
|
"SUPER_CTRL, right, resizeactive, 20 0"
|
||||||
"SUPER_CTRL, up, resizeactive, 0 -20"
|
"SUPER_CTRL, up, resizeactive, 0 -20"
|
||||||
"SUPER_CTRL, down, resizeactive, 0 20"
|
"SUPER_CTRL, down, resizeactive, 0 20"
|
||||||
|
"SUPER_CTRL, equal, exec, hyprctl dispatch layoutmsg mfact exact 0.5;"
|
||||||
|
|
||||||
# move active (Floating Only)
|
# move active (Floating Only)
|
||||||
"SUPER_ALT, left, moveactive, -20 0"
|
"SUPER_ALT, left, moveactive, -20 0"
|
||||||
@@ -303,7 +301,6 @@
|
|||||||
|
|
||||||
"hyprpaper"
|
"hyprpaper"
|
||||||
"${pkgs.tpanel}/bin/tpanel"
|
"${pkgs.tpanel}/bin/tpanel"
|
||||||
"copyq"
|
|
||||||
"kdeconnectd"
|
"kdeconnectd"
|
||||||
"kdeconnect-indicator"
|
"kdeconnect-indicator"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -5,15 +5,13 @@
|
|||||||
settings = {
|
settings = {
|
||||||
ipc = "on";
|
ipc = "on";
|
||||||
splash = false;
|
splash = false;
|
||||||
splash_offset = 2.0;
|
splash_offset = 20;
|
||||||
|
|
||||||
preload = [
|
wallpaper = {
|
||||||
"~/Wallpapers/new/sunset-pixel.png"
|
monitor = "";
|
||||||
];
|
path = "~/Wallpapers/new/sunset-pixel.png";
|
||||||
|
fit_mode = "";
|
||||||
wallpaper = [
|
};
|
||||||
", ~/Wallpapers/new/sunset-pixel.png"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -42,10 +42,6 @@
|
|||||||
"key": " │ │\u001b[11D{#32} shell",
|
"key": " │ │\u001b[11D{#32} shell",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"key": " │ │\u001b[11D{#35} pkgs",
|
|
||||||
"type": "packages",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"key": " │ │\u001b[11D{#35} memory",
|
"key": " │ │\u001b[11D{#35} memory",
|
||||||
"type": "memory",
|
"type": "memory",
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
window-padding-x = 10
|
window-padding-x = 10
|
||||||
window-padding-y = 10
|
window-padding-y = 10
|
||||||
background-opacity = 0.9
|
background-opacity = 0.9
|
||||||
font-size = 14
|
font-size = 12
|
||||||
|
|
||||||
palette = 0=#252b37
|
palette = 0=#252b37
|
||||||
palette = 1=#d0679d
|
palette = 1=#d0679d
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
services.picom = {
|
services.picom = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.picom-next;
|
package = pkgs.picom;
|
||||||
|
|
||||||
backend = "glx";
|
backend = "glx";
|
||||||
vSync = true;
|
vSync = true;
|
||||||
|
|||||||
@@ -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 = {
|
programs.spotify-player = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|||||||
@@ -1,17 +1,15 @@
|
|||||||
{
|
{pkgs, ...}: {
|
||||||
inputs,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
programs.wezterm = {
|
programs.wezterm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = inputs.wezterm-flake.packages."${pkgs.system}".default;
|
package = pkgs.wezterm-git;
|
||||||
enableZshIntegration = false;
|
enableZshIntegration = false;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
local wezterm = require 'wezterm'
|
local wezterm = require 'wezterm'
|
||||||
local config = {}
|
local config = {}
|
||||||
|
|
||||||
|
config.check_for_updates = false
|
||||||
|
|
||||||
config.window_close_confirmation = 'NeverPrompt'
|
config.window_close_confirmation = 'NeverPrompt'
|
||||||
config.color_scheme = 'Poimandres'
|
config.color_scheme = 'Poimandres'
|
||||||
config.colors = {
|
config.colors = {
|
||||||
@@ -21,7 +19,7 @@
|
|||||||
config.font = wezterm.font_with_fallback {
|
config.font = wezterm.font_with_fallback {
|
||||||
'JetBrainsMono Nerd Font',
|
'JetBrainsMono Nerd Font',
|
||||||
}
|
}
|
||||||
config.font_size = 14.0
|
config.font_size = 12.0
|
||||||
config.window_background_opacity = 1
|
config.window_background_opacity = 1
|
||||||
config.audible_bell = "Disabled"
|
config.audible_bell = "Disabled"
|
||||||
|
|
||||||
|
|||||||
@@ -2,12 +2,12 @@
|
|||||||
xdg.mime = {
|
xdg.mime = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultApplications = {
|
defaultApplications = {
|
||||||
"application/pdf" = ["brave-browser.desktop"];
|
"application/pdf" = ["vivaldi.desktop"];
|
||||||
"text/html" = ["brave-browser.desktop"];
|
"text/html" = ["vivaldi.desktop"];
|
||||||
"x-scheme-handler/http" = ["brave-browser.desktop"];
|
"x-scheme-handler/http" = ["vivaldi.desktop"];
|
||||||
"x-scheme-handler/https" = ["brave-browser.desktop"];
|
"x-scheme-handler/https" = ["vivaldi.desktop"];
|
||||||
"x-scheme-handler/about" = ["brave-browser.desktop"];
|
"x-scheme-handler/about" = ["vivaldi.desktop"];
|
||||||
"x-scheme-handler/unknown" = ["brave-browser.desktop"];
|
"x-scheme-handler/unknown" = ["vivaldi.desktop"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,5 +44,7 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [nextcloud31];
|
environment.systemPackages = with pkgs; [
|
||||||
|
nextcloud32
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
swtpm.enable = true;
|
swtpm.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
spiceUSBRedirection.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.${username}.extraGroups = ["libvirtd"];
|
users.users.${username}.extraGroups = ["libvirtd"];
|
||||||
|
|||||||
@@ -2,24 +2,25 @@
|
|||||||
additions = final: _prev: import ../pkgs {pkgs = final;};
|
additions = final: _prev: import ../pkgs {pkgs = final;};
|
||||||
|
|
||||||
modifications = final: prev: {
|
modifications = final: prev: {
|
||||||
awesome = inputs.nixpkgs-f2k.packages.${prev.system}.awesome-git;
|
awesome = inputs.nixpkgs-f2k.packages.${prev.stdenv.hostPlatform.system}.awesome-git;
|
||||||
ghostty = inputs.ghostty.packages.${prev.system}.default;
|
ghostty = inputs.ghostty.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||||
tawm = inputs.tawm.packages.${prev.system}.default;
|
tawm = inputs.tawm.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||||
tnvim = inputs.tnvim.packages.${prev.system}.default;
|
tnvim = inputs.tnvim.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||||
tpanel = inputs.tpanel.packages.${prev.system}.default;
|
tpanel = inputs.tpanel.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||||
ags = inputs.tpanel.packages.${prev.system}.ags.default;
|
ags = inputs.tpanel.packages.${prev.stdenv.hostPlatform.system}.ags.default;
|
||||||
tfolio = inputs.tfolio.packages.${prev.system}.default;
|
tfolio = inputs.tfolio.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||||
trok = inputs.trok.packages.${prev.system}.default;
|
trok = inputs.trok.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||||
cyber-tux = inputs.cyber-tux.packages.${prev.system}.default;
|
cyber-tux = inputs.cyber-tux.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||||
hyprland-git = inputs.hyprland.packages.${prev.system};
|
hyprland-git = inputs.hyprland.packages.${prev.stdenv.hostPlatform.system};
|
||||||
hyprland-plugins = inputs.hyprland-plugins.packages.${prev.system};
|
hyprland-plugins = inputs.hyprland-plugins.packages.${prev.stdenv.hostPlatform.system};
|
||||||
|
wezterm-git = inputs.wezterm-flake.packages.${prev.stdenv.hostPlatform.system}.default;
|
||||||
};
|
};
|
||||||
|
|
||||||
# When applied, the stable nixpkgs set (declared in the flake inputs) will
|
# When applied, the stable nixpkgs set (declared in the flake inputs) will
|
||||||
# be accessible through 'pkgs.stable'
|
# be accessible through 'pkgs.stable'
|
||||||
stable-packages = final: _prev: {
|
stable-packages = final: _prev: {
|
||||||
stable = import inputs.nixpkgs-stable {
|
stable = import inputs.nixpkgs-stable {
|
||||||
system = final.system;
|
system = final.stdenv.hostPlatform.system;
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
|||||||
owner = "datguypiko";
|
owner = "datguypiko";
|
||||||
repo = "Firefox-Mod-Blur";
|
repo = "Firefox-Mod-Blur";
|
||||||
rev = "refs/heads/master";
|
rev = "refs/heads/master";
|
||||||
sha256 = "sha256-BZ1NvKQwUDTMxQHEKX61PvD99cTDmBURSUKEKZNQDR4=";
|
sha256 = "sha256-J/SBMxDWxDC7o8P0t/3surUod52uUwy+xaD5dzZPGq0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user