all pckgs sync
31
flake.lock
generated
@@ -455,6 +455,36 @@
|
|||||||
"url": "https://github.com/hyprwm/Hyprland"
|
"url": "https://github.com/hyprwm/Hyprland"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"hyprland-plugins": {
|
||||||
|
"inputs": {
|
||||||
|
"hyprland": [
|
||||||
|
"hyprland"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"hyprland-plugins",
|
||||||
|
"hyprland",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"systems": [
|
||||||
|
"hyprland-plugins",
|
||||||
|
"hyprland",
|
||||||
|
"systems"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1730588120,
|
||||||
|
"narHash": "sha256-R+COuotzT6Pl0P1wOOzKQZnpq3TPHtBfwDWYWST7awo=",
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "hyprland-plugins",
|
||||||
|
"rev": "c347d8ad9b80370d573e5a01b2e8bf10e6d0dbe5",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hyprwm",
|
||||||
|
"repo": "hyprland-plugins",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"hyprland-protocols": {
|
"hyprland-protocols": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -973,6 +1003,7 @@
|
|||||||
"chaotic": "chaotic",
|
"chaotic": "chaotic",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"hyprland": "hyprland",
|
"hyprland": "hyprland",
|
||||||
|
"hyprland-plugins": "hyprland-plugins",
|
||||||
"hyprpolkitagent": "hyprpolkitagent",
|
"hyprpolkitagent": "hyprpolkitagent",
|
||||||
"hyprsunset": "hyprsunset",
|
"hyprsunset": "hyprsunset",
|
||||||
"hyprsysteminfo": "hyprsysteminfo",
|
"hyprsysteminfo": "hyprsysteminfo",
|
||||||
|
|||||||
@@ -15,6 +15,11 @@
|
|||||||
submodules = true;
|
submodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
hyprland-plugins = {
|
||||||
|
url = "github:hyprwm/hyprland-plugins";
|
||||||
|
inputs.hyprland.follows = "hyprland";
|
||||||
|
};
|
||||||
|
|
||||||
split-monitor-workspaces = {
|
split-monitor-workspaces = {
|
||||||
url = "github:Duckonaut/split-monitor-workspaces";
|
url = "github:Duckonaut/split-monitor-workspaces";
|
||||||
inputs.hyprland.follows = "hyprland"; # <- make sure this line is present for the plugin to work as intended
|
inputs.hyprland.follows = "hyprland"; # <- make sure this line is present for the plugin to work as intended
|
||||||
|
|||||||
@@ -3,26 +3,24 @@
|
|||||||
imports =
|
imports =
|
||||||
if hostname == "zion" then
|
if hostname == "zion" then
|
||||||
[
|
[
|
||||||
./programs/git.nix
|
|
||||||
./programs/btop.nix
|
./programs/btop.nix
|
||||||
# ./programs/yazi.nix
|
|
||||||
# ./programs/foot.nix
|
|
||||||
./programs/shell.nix
|
|
||||||
# ./programs/helix.nix
|
|
||||||
# ./programs/zathura.nix
|
|
||||||
./programs/packages.nix
|
|
||||||
# ./programs/vscodium.nix
|
|
||||||
./programs/vscode.nix
|
|
||||||
./programs/kitty.nix
|
|
||||||
./programs/fastfetch.nix
|
./programs/fastfetch.nix
|
||||||
|
# ./programs/foot.nix
|
||||||
|
./programs/git.nix
|
||||||
|
# ./programs/helix.nix
|
||||||
|
./programs/kitty.nix
|
||||||
|
./programs/packages.nix
|
||||||
|
./programs/shell.nix
|
||||||
|
./programs/vscodium.nix
|
||||||
|
# ./programs/yazi.nix
|
||||||
|
# ./programs/zathura.nix
|
||||||
|
|
||||||
./system/tofi.nix
|
|
||||||
./system/wofi.nix
|
|
||||||
./system/dunst.nix
|
./system/dunst.nix
|
||||||
|
./system/hyprland.nix
|
||||||
./system/stylix.nix
|
./system/stylix.nix
|
||||||
./system/waybar.nix
|
./system/waybar.nix
|
||||||
./system/wlsunset.nix
|
./system/wlsunset.nix
|
||||||
./system/hyprland.nix
|
./system/wofi.nix
|
||||||
]
|
]
|
||||||
else if hostname == "server" then
|
else if hostname == "server" then
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -1,36 +1,85 @@
|
|||||||
{ pkgs, inputs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# DEV
|
# > graphics < #
|
||||||
|
tuxpaint
|
||||||
|
krita
|
||||||
|
|
||||||
|
# > terminal < #
|
||||||
|
kitty
|
||||||
|
kitty-themes
|
||||||
|
|
||||||
|
# > tools < #
|
||||||
|
git
|
||||||
|
wget
|
||||||
|
eza
|
||||||
|
yt-dlp
|
||||||
|
ffmpeg
|
||||||
|
texlive.combined.scheme-full
|
||||||
|
fastfetch
|
||||||
|
zoxide
|
||||||
|
btop
|
||||||
|
htop
|
||||||
|
killall
|
||||||
|
woeusb
|
||||||
|
pavucontrol
|
||||||
|
steam-run
|
||||||
|
unzip
|
||||||
|
openvpn
|
||||||
|
wol
|
||||||
|
direnv
|
||||||
|
p7zip
|
||||||
|
hoppscotch
|
||||||
|
networkmanagerapplet
|
||||||
|
protonvpn-cli_2
|
||||||
python3
|
python3
|
||||||
# MEDIA
|
|
||||||
mpv
|
|
||||||
imv
|
|
||||||
pwvucontrol
|
pwvucontrol
|
||||||
|
|
||||||
# CONNECTIONS
|
# > media < #
|
||||||
overskride
|
spotify
|
||||||
protonvpn-cli_2
|
vlc
|
||||||
networkmanagerapplet
|
mpv
|
||||||
|
obs-studio
|
||||||
|
okular
|
||||||
|
|
||||||
# APPS
|
|
||||||
floorp
|
# > desktop < #
|
||||||
spotube
|
firefox
|
||||||
vesktop
|
telegram-desktop
|
||||||
nautilus
|
google-chrome
|
||||||
|
evolution
|
||||||
|
obsidian
|
||||||
|
foliate
|
||||||
|
helio-workstation
|
||||||
keepassxc
|
keepassxc
|
||||||
whatsapp-for-linux
|
vesktop
|
||||||
|
|
||||||
|
# > gaming < #
|
||||||
|
prismlauncher
|
||||||
|
classicube
|
||||||
|
steam
|
||||||
|
|
||||||
|
# > development < #
|
||||||
|
podman
|
||||||
|
podman-compose
|
||||||
|
seahorse
|
||||||
|
platformio
|
||||||
|
iwgtk
|
||||||
|
imv
|
||||||
|
neovide
|
||||||
|
feh
|
||||||
|
zed-editor
|
||||||
|
zint
|
||||||
|
tmux
|
||||||
|
zip
|
||||||
|
unzip
|
||||||
|
pavucontrol
|
||||||
libreoffice
|
libreoffice
|
||||||
qalculate-gtk
|
qalculate-gtk
|
||||||
|
|
||||||
# Utilities
|
|
||||||
ventoy-full
|
|
||||||
file-roller
|
file-roller
|
||||||
vim
|
vim
|
||||||
firefox
|
|
||||||
rofi
|
rofi
|
||||||
nixfmt
|
nixfmt-rfc-style
|
||||||
nemo
|
nemo
|
||||||
neovim
|
neovim
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -1,58 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
programs.vscode = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
extensions = with pkgs.vscode-extensions; [
|
|
||||||
ms-python.python
|
|
||||||
ms-python.debugpy
|
|
||||||
jnoortheen.nix-ide
|
|
||||||
mvllow.rose-pine
|
|
||||||
];
|
|
||||||
|
|
||||||
userSettings = {
|
|
||||||
|
|
||||||
"editor.fontSize" = 18;
|
|
||||||
"explorer.confirmDelete" = false;
|
|
||||||
"explorer.confirmDragAndDrop" = true;
|
|
||||||
"git.openRepositoryInParentFolders" = "never";
|
|
||||||
|
|
||||||
"[python]" = {
|
|
||||||
"editor.defaultFormatter" = "ms-python.black-formatter";
|
|
||||||
"editor.formatOnSave" = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
"nix.enableLanguageServer" = true;
|
|
||||||
"nix.serverPath" = "${pkgs.nixd}/bin/nixd";
|
|
||||||
"nix.serverSettings" = {
|
|
||||||
"nixd" = {
|
|
||||||
"formatting" = {
|
|
||||||
"command" = [ "${pkgs.nixpkgs-fmt}/bin/nixpkgs-fmt" ];
|
|
||||||
};
|
|
||||||
"nixpkgs" = {
|
|
||||||
"expr" = "import <nixpkgs> { }";
|
|
||||||
"options" = {
|
|
||||||
"nixos" = {
|
|
||||||
"expr" = "(builtins.getFlake \"/home/mike/.files\").nixosConfigurations.zion.options";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
"editor.formatOnSave" = true;
|
|
||||||
|
|
||||||
"editor.fontLigatures" = true;
|
|
||||||
"editor.formatOnPaste" = true;
|
|
||||||
"editor.minimap.enabled" = false;
|
|
||||||
|
|
||||||
"symbols.hidesExplorerArrows" = false;
|
|
||||||
|
|
||||||
"workbench.iconTheme" = "rose-pine-icons";
|
|
||||||
"workbench.colorTheme" = "Rosé Pine";
|
|
||||||
"workbench.preferredDarkColorTheme" = "Rosé Pine";
|
|
||||||
"workbench.preferredHighContrastColorTheme" = "Rosé Pine";
|
|
||||||
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }: {
|
||||||
{
|
|
||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.vscodium;
|
package = pkgs.vscodium;
|
||||||
@@ -8,7 +7,7 @@
|
|||||||
ms-python.python
|
ms-python.python
|
||||||
ms-python.debugpy
|
ms-python.debugpy
|
||||||
jnoortheen.nix-ide
|
jnoortheen.nix-ide
|
||||||
catppuccin.catppuccin-vsc
|
mvllow.rose-pine
|
||||||
];
|
];
|
||||||
|
|
||||||
userSettings = {
|
userSettings = {
|
||||||
@@ -34,7 +33,8 @@
|
|||||||
"expr" = "import <nixpkgs> { }";
|
"expr" = "import <nixpkgs> { }";
|
||||||
"options" = {
|
"options" = {
|
||||||
"nixos" = {
|
"nixos" = {
|
||||||
"expr" = "(builtins.getFlake \"/home/nel/Dotfiles\").nixosConfigurations.laptop.options";
|
"expr" = ''
|
||||||
|
(builtins.getFlake "/home/mike/.files").nixosConfigurations.zion.options'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -49,11 +49,10 @@
|
|||||||
|
|
||||||
"symbols.hidesExplorerArrows" = false;
|
"symbols.hidesExplorerArrows" = false;
|
||||||
|
|
||||||
"catppuccin.accentColor" = "blue";
|
"workbench.iconTheme" = "rose-pine-icons";
|
||||||
"workbench.iconTheme" = "vs-minimal";
|
"workbench.colorTheme" = "Rosé Pine";
|
||||||
"workbench.colorTheme" = "Catppuccin Mocha";
|
"workbench.preferredDarkColorTheme" = "Rosé Pine";
|
||||||
"workbench.preferredDarkColorTheme" = "Catppuccin Mocha";
|
"workbench.preferredHighContrastColorTheme" = "Rosé Pine";
|
||||||
"workbench.preferredHighContrastColorTheme" = "Catppuccin Mocha";
|
|
||||||
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -248,118 +248,118 @@
|
|||||||
# };
|
# };
|
||||||
# };
|
# };
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# This is an example Hyprland config file.
|
# This is an example Hyprland config file.
|
||||||
# Refer to the wiki for more information.
|
# Refer to the wiki for more information.
|
||||||
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
|
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/
|
||||||
|
|
||||||
# Please note not all available settings / options are set here.
|
# Please note not all available settings / options are set here.
|
||||||
# For a full list, see the wiki
|
# For a full list, see the wiki
|
||||||
|
|
||||||
# You can split this configuration into multiple files
|
# You can split this configuration into multiple files
|
||||||
# Create your files separately and then link them to this file like this:
|
# Create your files separately and then link them to this file like this:
|
||||||
# source = ~/.config/hypr/myColors.conf
|
# source = ~/.config/hypr/myColors.conf
|
||||||
|
|
||||||
|
|
||||||
################
|
################
|
||||||
### MONITORS ###
|
### MONITORS ###
|
||||||
################
|
################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors/
|
# See https://wiki.hyprland.org/Configuring/Monitors/
|
||||||
monitor=HDMI-A-1, preferred, 0x360, 1
|
monitor=HDMI-A-1, preferred, 0x360, 1
|
||||||
monitor=DP-1, highrr, 4480x0, 1
|
monitor=DP-1, highrr, 4480x0, 1
|
||||||
monitor=DP-2, highrr, 1920x0, 1
|
monitor=DP-2, highrr, 1920x0, 1
|
||||||
|
|
||||||
|
|
||||||
###################
|
###################
|
||||||
### MY PROGRAMS ###
|
### MY PROGRAMS ###
|
||||||
###################
|
###################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
|
|
||||||
# Set programs that you use
|
# Set programs that you use
|
||||||
$terminal = kitty
|
$terminal = kitty
|
||||||
$fileManager = nemo
|
$fileManager = nemo
|
||||||
$menu = rofi -show drun
|
$menu = rofi -show drun
|
||||||
$lock = $HOME/.config/hypr/lock.sh
|
$lock = $HOME/.config/hypr/lock.sh
|
||||||
$editor = zed
|
$editor = zed
|
||||||
$browser = firefox
|
$browser = firefox
|
||||||
$picker = hyprpicker -a -f hex
|
$picker = hyprpicker -a -f hex
|
||||||
|
|
||||||
#################
|
#################
|
||||||
### AUTOSTART ###
|
### AUTOSTART ###
|
||||||
#################
|
#################
|
||||||
|
|
||||||
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
# Autostart necessary processes (like notifications daemons, status bars, etc.)
|
||||||
|
|
||||||
# exec-once = hyprpm reload -n
|
# exec-once = hyprpm reload -n
|
||||||
exec-once = hypridle
|
exec-once = hypridle
|
||||||
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
# exec-once=zsh $HOME/.config/hypr/autostart.sh
|
# exec-once=zsh $HOME/.config/hypr/autostart.sh
|
||||||
exec-once = waybar
|
exec-once = waybar
|
||||||
|
|
||||||
#############################
|
#############################
|
||||||
### ENVIRONMENT VARIABLES ###
|
### ENVIRONMENT VARIABLES ###
|
||||||
#############################
|
#############################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
# See https://wiki.hyprland.org/Configuring/Environment-variables/
|
||||||
|
|
||||||
env = XCURSOR_SIZE,24
|
env = XCURSOR_SIZE,24
|
||||||
env = XCURSOR_THEME,/usr/share/icons/Gruvbox-Dark/index.theme
|
env = XCURSOR_THEME,/usr/share/icons/Gruvbox-Dark/index.theme
|
||||||
env = HYPRCURSOR_SIZE,24
|
env = HYPRCURSOR_SIZE,24
|
||||||
env = HYPRCURSOR_THEME,/usr/share/icons/Gruvbox-Dark/index.theme
|
env = HYPRCURSOR_THEME,/usr/share/icons/Gruvbox-Dark/index.theme
|
||||||
|
|
||||||
env = CLUTTER_BACKEND,wayland
|
env = CLUTTER_BACKEND,wayland
|
||||||
env = GDK_BACKEND,wayland,x11
|
env = GDK_BACKEND,wayland,x11
|
||||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||||
env = QT_QPA_PLATFORMTHEME,qt5ct
|
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
env = QT_QPA_PLATFORMTHEME,qt6ct
|
||||||
env = QT_SCALE_FACTOR,1
|
env = QT_SCALE_FACTOR,1
|
||||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||||
|
|
||||||
# Nvidia
|
# Nvidia
|
||||||
env = LIBVA_DRIVER_NAME,nvidia
|
env = LIBVA_DRIVER_NAME,nvidia
|
||||||
env = XDG_SESSION_TYPE,wayland
|
env = XDG_SESSION_TYPE,wayland
|
||||||
env = GBM_BACKEND,nvidia-drm
|
env = GBM_BACKEND,nvidia-drm
|
||||||
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
|
||||||
env = WLR_NO_HARDWARE_CURSORS,1
|
env = WLR_NO_HARDWARE_CURSORS,1
|
||||||
env = __NV_PRIME_RENDER_OFFLOAD,1
|
env = __NV_PRIME_RENDER_OFFLOAD,1
|
||||||
env = __VK_LAYER_NV_optimus,NVIDIA_only
|
env = __VK_LAYER_NV_optimus,NVIDIA_only
|
||||||
env = __GL_THREADED_OPTIMIZATIONS=0
|
env = __GL_THREADED_OPTIMIZATIONS=0
|
||||||
|
|
||||||
# Wayland enforce
|
# Wayland enforce
|
||||||
env = QT_QPA_PLATFORM,wayland
|
env = QT_QPA_PLATFORM,wayland
|
||||||
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
env = ELECTRON_OZONE_PLATFORM_HINT,wayland
|
||||||
env = XDG_CURRENT_DESKTOP,Hyprland
|
env = XDG_CURRENT_DESKTOP,Hyprland
|
||||||
env = XDG_SESSION_DESKTOP,Hyprland
|
env = XDG_SESSION_DESKTOP,Hyprland
|
||||||
|
|
||||||
# Java
|
# Java
|
||||||
env = _JAVA_AWT_WM_NONREPARENTING,1
|
env = _JAVA_AWT_WM_NONREPARENTING,1
|
||||||
env = _JAVA_OPTIONS,-Dawt.useSystemAAFontSettings=on
|
env = _JAVA_OPTIONS,-Dawt.useSystemAAFontSettings=on
|
||||||
|
|
||||||
# Firefox
|
# Firefox
|
||||||
env = MOZ_ENABLE_WAYLAND,1
|
env = MOZ_ENABLE_WAYLAND,1
|
||||||
env = MOZ_DISABLE_RDD_SANDBOX,1
|
env = MOZ_DISABLE_RDD_SANDBOX,1
|
||||||
env = EGL_PLATFORM,wayland
|
env = EGL_PLATFORM,wayland
|
||||||
|
|
||||||
# Electron
|
# Electron
|
||||||
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
env = ELECTRON_OZONE_PLATFORM_HINT,auto
|
||||||
|
|
||||||
# Input
|
# Input
|
||||||
env = QT_IM_MODULE,fcitx
|
env = QT_IM_MODULE,fcitx
|
||||||
env = XMODIFIERS=@im=fcitx
|
env = XMODIFIERS=@im=fcitx
|
||||||
env = GLFW_IM_MODULE,ibus
|
env = GLFW_IM_MODULE,ibus
|
||||||
|
|
||||||
# SSH Agents
|
# SSH Agents
|
||||||
env = SSH_AUTH_SOCK,$XDG_RUNTIME_DIR/ssh-agent.socket
|
env = SSH_AUTH_SOCK,$XDG_RUNTIME_DIR/ssh-agent.socket
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
### LOOK AND FEEL ###
|
### LOOK AND FEEL ###
|
||||||
#####################
|
#####################
|
||||||
|
|
||||||
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
# Refer to https://wiki.hyprland.org/Configuring/Variables/
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#general
|
# https://wiki.hyprland.org/Configuring/Variables/#general
|
||||||
general {
|
general {
|
||||||
gaps_in = 10
|
gaps_in = 10
|
||||||
gaps_out = 20
|
gaps_out = 20
|
||||||
|
|
||||||
@@ -376,10 +376,10 @@ general {
|
|||||||
allow_tearing = false
|
allow_tearing = false
|
||||||
|
|
||||||
layout = dwindle
|
layout = dwindle
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||||
decoration {
|
decoration {
|
||||||
rounding = 10
|
rounding = 10
|
||||||
|
|
||||||
# Change transparency of focused and unfocused windows
|
# Change transparency of focused and unfocused windows
|
||||||
@@ -399,14 +399,14 @@ decoration {
|
|||||||
|
|
||||||
vibrancy = 0.1696
|
vibrancy = 0.1696
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cursor {
|
cursor {
|
||||||
no_hardware_cursors = true
|
no_hardware_cursors = true
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
# https://wiki.hyprland.org/Configuring/Variables/#animations
|
||||||
animations {
|
animations {
|
||||||
enabled = true
|
enabled = true
|
||||||
|
|
||||||
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
# Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more
|
||||||
@@ -419,32 +419,32 @@ animations {
|
|||||||
animation = borderangle, 1, 8, default
|
animation = borderangle, 1, 8, default
|
||||||
animation = fade, 1, 7, default
|
animation = fade, 1, 7, default
|
||||||
animation = workspaces, 1, 6, default
|
animation = workspaces, 1, 6, default
|
||||||
}
|
}
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
|
||||||
dwindle {
|
dwindle {
|
||||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||||
preserve_split = true # You probably want this
|
preserve_split = true # You probably want this
|
||||||
}
|
}
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
|
||||||
master {
|
master {
|
||||||
new_status = master
|
new_status = master
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||||
misc {
|
misc {
|
||||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||||
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#############
|
#############
|
||||||
### INPUT ###
|
### INPUT ###
|
||||||
#############
|
#############
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#input
|
# https://wiki.hyprland.org/Configuring/Variables/#input
|
||||||
input {
|
input {
|
||||||
kb_layout = pl
|
kb_layout = pl
|
||||||
kb_variant =
|
kb_variant =
|
||||||
kb_model =
|
kb_model =
|
||||||
@@ -460,169 +460,169 @@ input {
|
|||||||
touchpad {
|
touchpad {
|
||||||
natural_scroll = true
|
natural_scroll = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||||
gestures {
|
gestures {
|
||||||
workspace_swipe = false
|
workspace_swipe = false
|
||||||
}
|
}
|
||||||
|
|
||||||
# Example per-device config
|
# Example per-device config
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
|
||||||
# device {
|
# device {
|
||||||
# name = epic-mouse-v1
|
# name = epic-mouse-v1
|
||||||
# sensitivity = -0.5
|
# sensitivity = -0.5
|
||||||
# }
|
# }
|
||||||
|
|
||||||
###############
|
###############
|
||||||
### PLUGINS ###
|
### PLUGINS ###
|
||||||
###############
|
###############
|
||||||
|
|
||||||
plugin {
|
plugin {
|
||||||
split-monitor-workspaces {
|
split-monitor-workspaces {
|
||||||
count = 10
|
count = 10
|
||||||
keep_focused = 1
|
keep_focused = 1
|
||||||
enable_notifications = 0
|
enable_notifications = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
##############
|
##############
|
||||||
### RENDER ###
|
### RENDER ###
|
||||||
##############
|
##############
|
||||||
|
|
||||||
render {
|
render {
|
||||||
explicit_sync = 1
|
explicit_sync = 1
|
||||||
}
|
}
|
||||||
|
|
||||||
xwayland {
|
xwayland {
|
||||||
force_zero_scaling = true
|
force_zero_scaling = true
|
||||||
}
|
}
|
||||||
|
|
||||||
####################
|
####################
|
||||||
### KEYBINDINGSS ###
|
### KEYBINDINGSS ###
|
||||||
####################
|
####################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/
|
# See https://wiki.hyprland.org/Configuring/Keywords/
|
||||||
$mainMod = SUPER # Sets "Windows" key as main modifier
|
$mainMod = SUPER # Sets "Windows" key as main modifier
|
||||||
|
|
||||||
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
|
||||||
bind = $mainMod SHIFT, RETURN, exec, $terminal
|
bind = $mainMod SHIFT, RETURN, exec, $terminal
|
||||||
bind = $mainMod, Q, killactive,
|
bind = $mainMod, Q, killactive,
|
||||||
bind = $mainMod SHIFT, Q, exit
|
bind = $mainMod SHIFT, Q, exit
|
||||||
bind = $mainMod, N, exec, $fileManager
|
bind = $mainMod, N, exec, $fileManager
|
||||||
bind = $mainMod, W, exec, $editor
|
bind = $mainMod, W, exec, $editor
|
||||||
bind = $mainMod, Z, exec, $terminal
|
bind = $mainMod, Z, exec, $terminal
|
||||||
bind = $mainMod, B, exec, $browser
|
bind = $mainMod, B, exec, $browser
|
||||||
bind = $mainMod SHIFT, L, exec, $lock
|
bind = $mainMod SHIFT, L, exec, $lock
|
||||||
bind = $mainMod, V, togglefloating,
|
bind = $mainMod, V, togglefloating,
|
||||||
bind = $mainMod, R, exec, $menu
|
bind = $mainMod, R, exec, $menu
|
||||||
bind = $mainMod, SPACE, exec, $menu
|
bind = $mainMod, SPACE, exec, $menu
|
||||||
bind = $mainMod SHIFT, C, exec, $picker
|
bind = $mainMod SHIFT, C, exec, $picker
|
||||||
bind = $mainMod, P, pseudo, # dwindle
|
bind = $mainMod, P, pseudo, # dwindle
|
||||||
bind = $mainMod, J, togglesplit, # dwindle
|
bind = $mainMod, J, togglesplit, # dwindle
|
||||||
bind = $mainMod, F, fullscreen, 1
|
bind = $mainMod, F, fullscreen, 1
|
||||||
bind = $mainMod SHIFT, F, fullscreen, 0
|
bind = $mainMod SHIFT, F, fullscreen, 0
|
||||||
bind = $mainMod, T, togglefloating
|
bind = $mainMod, T, togglefloating
|
||||||
bind = $mainMod, mouse:274, togglefloating
|
bind = $mainMod, mouse:274, togglefloating
|
||||||
|
|
||||||
# Move focus with mainMod + vim keys
|
# Move focus with mainMod + vim keys
|
||||||
bind = $mainMod, H, movefocus, l
|
bind = $mainMod, H, movefocus, l
|
||||||
bind = $mainMod, L, movefocus, r
|
bind = $mainMod, L, movefocus, r
|
||||||
bind = $mainMod, K, movefocus, u
|
bind = $mainMod, K, movefocus, u
|
||||||
bind = $mainMod, J, movefocus, d
|
bind = $mainMod, J, movefocus, d
|
||||||
|
|
||||||
# Switch workspaces with mainMod + [0-9]
|
# Switch workspaces with mainMod + [0-9]
|
||||||
bind = $mainMod, 1, split-workspace, 1
|
bind = $mainMod, 1, split-workspace, 1
|
||||||
bind = $mainMod, 2, split-workspace, 2
|
bind = $mainMod, 2, split-workspace, 2
|
||||||
bind = $mainMod, 3, split-workspace, 3
|
bind = $mainMod, 3, split-workspace, 3
|
||||||
bind = $mainMod, 4, split-workspace, 4
|
bind = $mainMod, 4, split-workspace, 4
|
||||||
bind = $mainMod, 5, split-workspace, 5
|
bind = $mainMod, 5, split-workspace, 5
|
||||||
bind = $mainMod, 6, split-workspace, 6
|
bind = $mainMod, 6, split-workspace, 6
|
||||||
bind = $mainMod, 7, split-workspace, 7
|
bind = $mainMod, 7, split-workspace, 7
|
||||||
bind = $mainMod, 8, split-workspace, 8
|
bind = $mainMod, 8, split-workspace, 8
|
||||||
bind = $mainMod, 9, split-workspace, 9
|
bind = $mainMod, 9, split-workspace, 9
|
||||||
bind = $mainMod, 0, split-workspace, 10
|
bind = $mainMod, 0, split-workspace, 10
|
||||||
|
|
||||||
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
# Move active window to a workspace with mainMod + SHIFT + [0-9]
|
||||||
bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
|
bind = $mainMod SHIFT, 1, split-movetoworkspacesilent, 1
|
||||||
bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
|
bind = $mainMod SHIFT, 2, split-movetoworkspacesilent, 2
|
||||||
bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
|
bind = $mainMod SHIFT, 3, split-movetoworkspacesilent, 3
|
||||||
bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
|
bind = $mainMod SHIFT, 4, split-movetoworkspacesilent, 4
|
||||||
bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5
|
bind = $mainMod SHIFT, 5, split-movetoworkspacesilent, 5
|
||||||
bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6
|
bind = $mainMod SHIFT, 6, split-movetoworkspacesilent, 6
|
||||||
bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7
|
bind = $mainMod SHIFT, 7, split-movetoworkspacesilent, 7
|
||||||
bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8
|
bind = $mainMod SHIFT, 8, split-movetoworkspacesilent, 8
|
||||||
bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9
|
bind = $mainMod SHIFT, 9, split-movetoworkspacesilent, 9
|
||||||
bind = $mainMod SHIFT, 0, split-movetoworkspacesilent, 10
|
bind = $mainMod SHIFT, 0, split-movetoworkspacesilent, 10
|
||||||
|
|
||||||
# Example special workspace (scratchpad)
|
# Example special workspace (scratchpad)
|
||||||
bind = $mainMod, D, togglespecialworkspace, magic
|
bind = $mainMod, D, togglespecialworkspace, magic
|
||||||
bind = $mainMod SHIFT, D, movetoworkspace, special:magic
|
bind = $mainMod SHIFT, D, movetoworkspace, special:magic
|
||||||
|
|
||||||
# Move between monitors
|
# Move between monitors
|
||||||
bind = $mainMod, code:60, focusmonitor, -1 # code 60 is a dot (.)
|
bind = $mainMod, code:60, focusmonitor, -1 # code 60 is a dot (.)
|
||||||
bind = $mainMod, code:59, focusmonitor, +1 # code 59 is a comma (,)
|
bind = $mainMod, code:59, focusmonitor, +1 # code 59 is a comma (,)
|
||||||
# bind = $mainMod SHIFT, BackSpace, movewindow, mon:+1,
|
# bind = $mainMod SHIFT, BackSpace, movewindow, mon:+1,
|
||||||
# bind = $mainMod SHIFT, code:59, changemonitorsilent, e-1
|
# bind = $mainMod SHIFT, code:59, changemonitorsilent, e-1
|
||||||
# bind = $mainMod SHIFT, code:60, changemonitorsilent, e+1
|
# bind = $mainMod SHIFT, code:60, changemonitorsilent, e+1
|
||||||
|
|
||||||
# Scroll through existing workspaces with mainMod + scroll
|
# Scroll through existing workspaces with mainMod + scroll
|
||||||
bind = $mainMod, mouse_down, workspace, e+1
|
bind = $mainMod, mouse_down, workspace, e+1
|
||||||
bind = $mainMod, mouse_up, workspace, e-1
|
bind = $mainMod, mouse_up, workspace, e-1
|
||||||
|
|
||||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||||
bindm = $mainMod, mouse:272, movewindow
|
bindm = $mainMod, mouse:272, movewindow
|
||||||
bindm = $mainMod, mouse:273, resizewindow
|
bindm = $mainMod, mouse:273, resizewindow
|
||||||
|
|
||||||
bind = ,XF86AudioMicMute, exec, amixer set Capture toggle
|
bind = ,XF86AudioMicMute, exec, amixer set Capture toggle
|
||||||
bind = ,XF86AudioMute, exec, amixer set Master toggle
|
bind = ,XF86AudioMute, exec, amixer set Master toggle
|
||||||
bind = ,XF86AudioRaiseVolume, exec, amixer set Master playback 2%+
|
bind = ,XF86AudioRaiseVolume, exec, amixer set Master playback 2%+
|
||||||
bind = ,XF86AudioLowerVolume, exec, amixer set Master playback 2%-
|
bind = ,XF86AudioLowerVolume, exec, amixer set Master playback 2%-
|
||||||
bind = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+
|
bind = ,XF86MonBrightnessUp, exec, brightnessctl set 5%+
|
||||||
bind = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
bind = ,XF86MonBrightnessDown, exec, brightnessctl set 5%-
|
||||||
# bind =CTRL,XF86Launch2, exec, hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1"
|
# bind =CTRL,XF86Launch2, exec, hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1"
|
||||||
# bind = SHIFT,XF86Launch2, exec, hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1.5"
|
# bind = SHIFT,XF86Launch2, exec, hyprctl keyword monitor "eDP-1,1920x1080@60,0x0,1.5"
|
||||||
bind = SHIFT, XF86MonBrightnessDown, exec, brightnessctl set 1%
|
bind = SHIFT, XF86MonBrightnessDown, exec, brightnessctl set 1%
|
||||||
bind = SHIFT, XF86MonBrightnessUp, exec, brightnessctl set 100%
|
bind = SHIFT, XF86MonBrightnessUp, exec, brightnessctl set 100%
|
||||||
|
|
||||||
# Screenshot a window
|
# Screenshot a window
|
||||||
bind = $mainMod, PRINT, exec, hyprshot -m window
|
bind = $mainMod, PRINT, exec, hyprshot -m window
|
||||||
# Screenshot a monitor
|
# Screenshot a monitor
|
||||||
bind = , PRINT, exec, hyprshot -m output
|
bind = , PRINT, exec, hyprshot -m output
|
||||||
# Screenshot a region
|
# Screenshot a region
|
||||||
bind = $mainMod SHIFT, S, exec, hyprshot -m region
|
bind = $mainMod SHIFT, S, exec, hyprshot -m region
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
### WINDOWS AND WORKSPACES ###
|
### WINDOWS AND WORKSPACES ###
|
||||||
##############################
|
##############################
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
|
||||||
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules
|
||||||
|
|
||||||
# Example windowrule v1
|
# Example windowrule v1
|
||||||
# windowrule = float, ^(kitty)$
|
# windowrule = float, ^(kitty)$
|
||||||
|
|
||||||
windowrule=opacity 1.0 override 1.0, ^(firefox)$
|
windowrule=opacity 1.0 override 1.0, ^(firefox)$
|
||||||
|
|
||||||
# Example windowrule v2
|
# Example windowrule v2
|
||||||
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
|
||||||
|
|
||||||
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
|
||||||
|
|
||||||
windowrule=fullscreen, flameshot
|
windowrule=fullscreen, flameshot
|
||||||
windowrule=float,flameshot
|
windowrule=float,flameshot
|
||||||
windowrule=monitor 0,flameshot
|
windowrule=monitor 0,flameshot
|
||||||
windowrule=move 0 0,flameshot
|
windowrule=move 0 0,flameshot
|
||||||
windowrule=workspace 0,flameshot
|
windowrule=workspace 0,flameshot
|
||||||
windowrule=stayfocused,flameshot
|
windowrule=stayfocused,flameshot
|
||||||
|
|
||||||
windowrulev2=move 0 -195,class:^(flameshot)$
|
windowrulev2=move 0 -195,class:^(flameshot)$
|
||||||
|
|
||||||
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
windowrulev2 = opacity 0.0 override,class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
windowrulev2 = noanim,class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
||||||
'';
|
'';
|
||||||
|
|
||||||
};
|
};
|
||||||
@@ -636,8 +636,8 @@ windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
|||||||
settings = {
|
settings = {
|
||||||
ipc = "off";
|
ipc = "off";
|
||||||
splash = false;
|
splash = false;
|
||||||
preload = [ "~/Dotfiles/home/wallpapers/nixppuccin.png" ];
|
preload = [ "~/.files/home/wallpapers/blockwavemoon.png" ];
|
||||||
wallpaper = [ ",~/Dotfiles/home/wallpapers/nixppuccin.png" ];
|
wallpaper = [ ",~/.files/home/wallpapers/blockwavemoon.png" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -715,7 +715,7 @@ windowrulev2 = noblur,class:^(xwaylandvideobridge)$
|
|||||||
|
|
||||||
background = {
|
background = {
|
||||||
monitor = "";
|
monitor = "";
|
||||||
path = "~/Dotfiles/home/wallpapers/lock.jpg";
|
path = "~/.files/home/wallpapers/blockwavemoon.png";
|
||||||
};
|
};
|
||||||
|
|
||||||
input-field = [
|
input-field = [
|
||||||
|
|||||||
@@ -18,33 +18,35 @@
|
|||||||
autoEnable = true;
|
autoEnable = true;
|
||||||
|
|
||||||
targets = {
|
targets = {
|
||||||
foot.enable = false;
|
gnome.enable = true;
|
||||||
|
gtk.enable = true;
|
||||||
|
# foot.enable = false;
|
||||||
wofi.enable = false;
|
wofi.enable = false;
|
||||||
tofi.enable = false;
|
# tofi.enable = false;
|
||||||
vscode.enable = false;
|
vscode.enable = false;
|
||||||
waybar.enable = false;
|
waybar.enable = false;
|
||||||
hyprland.enable = false;
|
hyprland.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
image = ../wallpapers/nixppuccin.png;
|
image = ../wallpapers/blockwavemoon.png;
|
||||||
|
|
||||||
override = {
|
override = {
|
||||||
base00 = "1e1e2e"; # base
|
base00 = "191724";
|
||||||
base01 = "181825"; # mantle
|
base01 = "1f1d2e";
|
||||||
base02 = "313244"; # surface0
|
base02 = "26233a";
|
||||||
base03 = "45475a"; # surface1
|
base03 = "6e6a86";
|
||||||
base04 = "585b70"; # surface2
|
base04 = "908caa";
|
||||||
base05 = "cdd6f4"; # text
|
base05 = "e0def4";
|
||||||
base06 = "f5e0dc"; # rosewater
|
base06 = "e0def4";
|
||||||
base07 = "b4befe"; # lavender
|
base07 = "524f67";
|
||||||
base08 = "f38ba8"; # red
|
base08 = "eb6f92";
|
||||||
base09 = "fab387"; # peach
|
base09 = "f6c177";
|
||||||
base0A = "f9e2af"; # yellow
|
base0A = "ebbcba";
|
||||||
base0B = "a6e3a1"; # green
|
base0B = "31748f";
|
||||||
base0C = "94e2d5"; # teal
|
base0C = "9ccfd8";
|
||||||
base0D = "89b4fa"; # blue
|
base0D = "c4a7e7";
|
||||||
base0E = "cba6f7"; # mauve
|
base0E = "f6c177";
|
||||||
base0F = "f2cdcd"; # flamingo
|
base0F = "524f67";
|
||||||
};
|
};
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 840 KiB |
BIN
home/wallpapers/blockwavemoon.png
Normal file
|
After Width: | Height: | Size: 1024 KiB |
|
Before Width: | Height: | Size: 69 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 54 KiB |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 376 KiB |
|
Before Width: | Height: | Size: 190 KiB |
|
Before Width: | Height: | Size: 5.6 MiB |
BIN
home/wallpapers/rose_pine_contourline.png
Normal file
|
After Width: | Height: | Size: 4.0 MiB |
@@ -4,20 +4,28 @@
|
|||||||
if hostname == "zion" then [
|
if hostname == "zion" then [
|
||||||
./zion.nix
|
./zion.nix
|
||||||
|
|
||||||
./modules/nh.nix
|
./modules/adb.nix
|
||||||
./modules/boot.nix
|
./modules/ananicy.nix
|
||||||
./modules/users.nix
|
|
||||||
./modules/greetd.nix
|
|
||||||
./modules/fstrim.nix
|
|
||||||
./modules/nvidia.nix
|
|
||||||
./modules/network.nix
|
|
||||||
./modules/security.nix
|
|
||||||
./modules/pipewire.nix
|
|
||||||
./modules/gsettings.nix
|
|
||||||
# ./modules/bluetooth.nix
|
# ./modules/bluetooth.nix
|
||||||
./modules/packages.nix
|
./modules/boot.nix
|
||||||
# ./modules/lanzaboot.nix
|
|
||||||
./modules/configuration.nix
|
./modules/configuration.nix
|
||||||
|
./modules/fstrim.nix
|
||||||
|
./modules/gaming.nix
|
||||||
|
./modules/greetd.nix
|
||||||
|
./modules/gsettings.nix
|
||||||
|
# ./modules/kde.nix
|
||||||
|
# ./modules/lanzaboot.nix
|
||||||
|
./modules/network.nix
|
||||||
|
./modules/nh.nix
|
||||||
|
./modules/nvidia.nix
|
||||||
|
./modules/ollama.nix
|
||||||
|
./modules/packages.nix
|
||||||
|
./modules/pipewire.nix
|
||||||
|
./modules/printing.nix
|
||||||
|
./modules/security.nix
|
||||||
|
./modules/ssh.nix
|
||||||
|
./modules/users.nix
|
||||||
|
./modules/vm.nix
|
||||||
]
|
]
|
||||||
else if hostname == "thor" then [
|
else if hostname == "thor" then [
|
||||||
./thor.nix
|
./thor.nix
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
kernelPackages =
|
kernelPackages =
|
||||||
if hostname == "zion" then pkgs.linuxPackages #linuxPackages_zen #linuxPackages #linuxPackages_latest #linuxPackages_xanmod_latest
|
if hostname == "zion" then pkgs.linuxPackages_cachyos #linuxPackages_zen #linuxPackages #linuxPackages_latest #linuxPackages_xanmod_latest
|
||||||
else if hostname == "thor" then pkgs.linuxPackages
|
else if hostname == "thor" then pkgs.linuxPackages
|
||||||
else if hostname == "server" then pkgs.linuxPackages
|
else if hostname == "server" then pkgs.linuxPackages
|
||||||
else pkgs.linuxPackages_zen;
|
else pkgs.linuxPackages_zen;
|
||||||
|
|||||||
@@ -1,8 +1,20 @@
|
|||||||
{ hostname, inputs, ... }:
|
{ hostname, inputs, pkgs, ... }:
|
||||||
{
|
{
|
||||||
time.timeZone = "Europe/Warsaw";
|
time.timeZone = "Europe/Warsaw";
|
||||||
i18n.defaultLocale = "en_US.UTF-8";
|
i18n.defaultLocale = "en_US.UTF-8";
|
||||||
|
|
||||||
|
i18n.extraLocaleSettings = {
|
||||||
|
LC_ADDRESS = "pl_PL.UTF-8";
|
||||||
|
LC_IDENTIFICATION = "pl_PL.UTF-8";
|
||||||
|
LC_MEASUREMENT = "en_US.UTF-8";
|
||||||
|
LC_MONETARY = "en_US.UTF-8";
|
||||||
|
LC_NAME = "pl_PL.UTF-8";
|
||||||
|
LC_NUMERIC = "en_US.UTF-8";
|
||||||
|
LC_PAPER = "pl_PL.UTF-8";
|
||||||
|
LC_TELEPHONE = "pl_PL.UTF-8";
|
||||||
|
LC_TIME = "en_US.UTF-8";
|
||||||
|
};
|
||||||
|
|
||||||
hardware.graphics = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
@@ -16,7 +28,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
environment = {
|
||||||
|
sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
|
shells = with pkgs; [ bash zsh ];
|
||||||
|
};
|
||||||
|
|
||||||
system = {
|
system = {
|
||||||
stateVersion = "24.05";
|
stateVersion = "24.05";
|
||||||
@@ -26,15 +42,20 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs = { config = { allowUnfree = true; }; };
|
nixpkgs = {
|
||||||
|
config = {
|
||||||
|
# I'm sorry Richard Stallman
|
||||||
|
allowUnfree = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
documentation = {
|
documentation = {
|
||||||
enable = false;
|
enable = true;
|
||||||
doc.enable = false;
|
doc.enable = false;
|
||||||
man.enable = false;
|
man.enable = true;
|
||||||
dev.enable = false;
|
dev.enable = false;
|
||||||
info.enable = false;
|
info.enable = false;
|
||||||
nixos.enable = false;
|
nixos.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|||||||
@@ -6,8 +6,11 @@
|
|||||||
dosfstools
|
dosfstools
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
nvd
|
nvd
|
||||||
|
brightnessctl
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.zsh.enable = true;
|
||||||
|
|
||||||
fonts.packages = with pkgs; [
|
fonts.packages = with pkgs; [
|
||||||
nerdfonts
|
nerdfonts
|
||||||
noto-fonts
|
noto-fonts
|
||||||
@@ -25,6 +28,12 @@
|
|||||||
programs.gnupg.agent = {
|
programs.gnupg.agent = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
|
settings = {
|
||||||
|
max-cache-ttl = 60480000;
|
||||||
|
default-cache-ttl = 60480000;
|
||||||
|
# default-cache-ttl-ssh = 60480000;
|
||||||
|
# max-cache-ttl-ssl = 60480000;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
3
hosts/modules/printing.nix
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
services.printing.enable = true;
|
||||||
|
}
|
||||||
@@ -4,4 +4,10 @@
|
|||||||
rtkit.enable = true;
|
rtkit.enable = true;
|
||||||
polkit.enable = true;
|
polkit.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services = {
|
||||||
|
gnome.gnome-keyring.enable = true;
|
||||||
|
udisks2.enable = true;
|
||||||
|
gvfs.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
ports = [ 22 ];
|
ports = [ 22 ];
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
PermitRootLogin = "no";
|
||||||
PasswordAuthentication = true;
|
PasswordAuthentication = true;
|
||||||
UseDns = true;
|
UseDns = true;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1,11 +1,20 @@
|
|||||||
{ inputs, username, hostname, ... }:
|
{ inputs, username, hostname, pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
|
|
||||||
|
users.defaultUserShell = pkgs.zsh;
|
||||||
|
|
||||||
users.users.${username} = {
|
users.users.${username} = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "${username}";
|
description = "${username}";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [
|
||||||
|
"networkmanager"
|
||||||
|
"wheel"
|
||||||
|
"docker"
|
||||||
|
"games"
|
||||||
|
"dialout"
|
||||||
|
"libvirtd"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
services.spice-vdagentd.enable = true;
|
services.spice-vdagentd.enable = true;
|
||||||
|
|
||||||
virtualisation = {
|
virtualisation = {
|
||||||
|
podman = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
spiceUSBRedirection.enable = true;
|
spiceUSBRedirection.enable = true;
|
||||||
libvirtd = {
|
libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||