Compare commits

...

49 commits

Author SHA1 Message Date
f930ad59f5
nixvim: Add web-devicons plugin
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:42:41 +03:00
fbcdfa19ed
config: Add ssh.nix
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:40:06 +03:00
6b465331a0
zellij: Update HM pane
* cd into the home-manager directory
* `watchexec` to apply configuration automatically

Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:36:50 +03:00
785d13d7fd
zellij: rounded_corners true
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:34:59 +03:00
a4b0f0847d
zellij: Run sensors in the main pane
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:33:24 +03:00
3d19b9c113
zellij: Add df parameters
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:32:22 +03:00
52f81444c9
home-manager: Add mpv.nix
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:30:48 +03:00
d5e3af6627
homeFiles: Use btrfs driver for containers
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:20:03 +03:00
09a595c8db
fish: Add nix shell functions
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:18:40 +03:00
461bcfb9b6
fish: Add some custom aliases
`zelly`,`e`,`cdt`

Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:15:07 +03:00
7e4325b8bd
fish: Add some git aliases
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:12:39 +03:00
8d4778c90f
fish: nix store optimise after updates, and send an ntfy notification
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:10:29 +03:00
0fece5e6d1
fish: Add home-manager expire-generations when cleaning home profile
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:09:29 +03:00
0189f06255
fish: Add plain home-manager alias
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:09:05 +03:00
170b69666c
fish: Add --flake in nix aliases
I remember the commands working without it, but it changed a few months ago

Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-05-21 15:06:39 +03:00
85fa60b0af
packages: Specify package set for KDE packages
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-02-25 12:54:17 +02:00
0bc9f25a7d
nixvim: Install noice
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-02-25 12:41:13 +02:00
b299bb4696
nixvim: Commit updated configuration changes
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-02-25 12:40:12 +02:00
c91d8bac6b
flatpak: Update package id for ungoogled_chromium
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-02-25 12:32:24 +02:00
972a44dabd
flatpak: Uninstall unused packages
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-02-25 12:31:44 +02:00
6be543225e
packages: Uninstall spotify-qt and spotifyd
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-02-25 12:28:17 +02:00
607e83faaf
packages: Replace filelight with Flatpak version
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2025-02-25 12:27:25 +02:00
1d192e9c05
plasma: Configure nightLight
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:16:21 +03:00
86fc78a1de
plasma: Use new borderlessMaximizedWindows option
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:15:51 +03:00
ebaa8d06a4
plasma: Use new kwin configuration module options for configuring virtual desktops
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:14:14 +03:00
072a5e511e
flatpak: Set override for Steam to have access to games directory
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:12:04 +03:00
71acea9fd3
flatpak: Configure global override to fix GTK dark theme
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:11:35 +03:00
2cf43d5c0e
flatpak: Install packages
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:11:12 +03:00
70b112520b
flatpak: Update packages automatically
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:09:47 +03:00
190a7e60ca
home: Set EDITOR environment variable
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:08:51 +03:00
678b06ff61
home: Add ~/bin to $PATH
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:08:13 +03:00
14e110a06c
home: Enable KDEConnect
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:07:50 +03:00
f4b43e3a18
nixvim: Add initial configuration for keymaps
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:04:29 +03:00
e9ca2034bc
nixvim: Use wl-copy for clipboard
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:01:15 +03:00
52c106b4be
nixvim: Set colorscheme to vim-monokai-tasty
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 17:00:42 +03:00
18854b903b
nixvim: Add and configure plugins
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 16:59:24 +03:00
06a2fa756c
nixvim: Configure basic settings
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 16:51:54 +03:00
7b9a071ad9
nixvim: Initial commit
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 16:50:12 +03:00
31e107a49a
home flake: Rearrange nix-flatpak and plasma-manager import lines
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 16:47:55 +03:00
c3084c8898
homeFiles: Configure cargo to use build partition
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 16:40:22 +03:00
844bdf54a9
config: Configure syncthing and gpg-agent
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 16:39:23 +03:00
e3153ed581
disko: Create build and games logical volumes
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 16:35:57 +03:00
8a7c86893c
disko: Delete unneeded mountOptions
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 16:35:06 +03:00
5bd1676428
firefox: Add HiDPI-related settings
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 16:32:19 +03:00
d19e2f55ed
fish: Update nix aliases
* Refer to the home directory by its full path
* Refer to flakes using the `path:` URL
* Add aliases to wipe old generations
* Add `update` alias for calling all other aliases

Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-08-03 16:23:25 +03:00
396f4a4b86
kanata: Rename layer misc->symbols
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-05-21 14:11:53 +03:00
9e81465bb4
kanata: Improve symbols layer
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-05-21 14:10:14 +03:00
fdcce63631
kanata: Only manage laptop keyboard
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-05-21 14:09:03 +03:00
8a1978c468
flatpak: Install rest.insomnia.Insomnia
Signed-off-by: George Kaklamanos <gkaklas@gkaklas.gr>
2024-05-10 18:37:55 +03:00
17 changed files with 349 additions and 46 deletions

View file

@ -5,5 +5,22 @@
./starship.nix ./starship.nix
./firefox.nix ./firefox.nix
./cli.nix ./cli.nix
./mpv.nix
./ssh.nix
]; ];
services.syncthing = {
enable = true;
tray.enable = true;
};
services.gpg-agent = {
enable = true;
enableSshSupport = true;
enableFishIntegration = true;
pinentryPackage = pkgs.pinentry-tty;
maxCacheTtl = 60480000;
maxCacheTtlSsh = 60480000;
defaultCacheTtl = 60480000;
defaultCacheTtlSsh = 60480000;
};
} }

View file

@ -29,5 +29,7 @@
"extensions.pocket.enabled" = false; "extensions.pocket.enabled" = false;
"browser.newtabpage.activity-stream.default.sites" = ""; "browser.newtabpage.activity-stream.default.sites" = "";
"browser.compactmode.show" = true; "browser.compactmode.show" = true;
# "ui.textScaleFactor" = 90;
"layout.css.devPixelsPerPx" = 1.7;
}; };
} }

View file

@ -26,18 +26,36 @@
"df" = "df -x tmpfs -x devtmpfs -x efivarfs -h"; "df" = "df -x tmpfs -x devtmpfs -x efivarfs -h";
# Nix # Nix
"nrs" = "sudo nixos-rebuild switch --flake ~gkaklas/nix/nixos/"; "nrs" = "sudo nixos-rebuild switch --flake path:/home/gkaklas/nix/nixos/";
"upn" = "sudo nix flake update ~gkaklas/nix/nixos/"; "upn" = "sudo nix flake update --flake path:/home/gkaklas/nix/nixos/";
"hms" = "home-manager switch --flake ~/nix/home-manager/"; "cln" = "sudo nix profile wipe-history --older-than 7d --profile /nix/var/nix/profiles/system";
"uph" = "nix flake update ~/nix/home-manager/ "; "hms" = "home-manager switch --flake path:/home/gkaklas/nix/home-manager/";
"hm" = "home-manager --flake path:/home/gkaklas/nix/home-manager/";
"uph" = "nix flake update --flake path:/home/gkaklas/nix/home-manager/ ";
"clh" = "nix profile wipe-history --older-than 7d && home-manager expire-generations '-7 days'";
"update" = "upn && nrs && cln && uph && hms && clh && nix store gc && nix store optimise && ntfy pub kelly 'Update done!'";
# git # git
"gc" = "git commit --verbose --gpg-sign --signoff"; "gc" = "git commit --verbose --gpg-sign --signoff";
"gc!" = "git commit --verbose --gpg-sign --signoff --amend"; "gc!" = "git commit --verbose --gpg-sign --signoff --amend";
"gst" = "git status"; "gst" = "git status";
"gd" = "git diff";
"grbi" = "git rebase -i";
"grba" = "git rebase --abort";
"grbc" = "git rebase --continue";
"gdca" = "git diff --cached"; "gdca" = "git diff --cached";
"gapa" = "git add --patched"; "gapa" = "git add --patched";
"glola" = "git log --graph --pretty=\"%G?-%C(magenta)%h %C(yellow)(%al)%C(cyan): %s\" --color=always"; "glola" = "git log --graph --pretty=\"%G?-%C(magenta)%h %C(yellow)(%al)%C(cyan): %s\" --color=always";
# zellij + kelly + jelly + it's fun and memorable
"zelly" = "zellij attach -c main";
# TODO: I tried calling $EDITOR but it wouldn't work
"e" = "nvim";
"cdt" = "cd (mktemp -d)";
};
functions = {
ns = "nix shell nixpkgs#$argv[1]";
nss = "nix shell nixpkgs#$argv[1] -c $argv";
}; };
shellAbbrs = { shellAbbrs = {

View file

@ -16,6 +16,8 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager"; inputs.home-manager.follows = "home-manager";
}; };
nixvim.url = "github:nix-community/nixvim";
nixvim.inputs.nixpkgs.follows = "nixpkgs";
}; };
outputs = { outputs = {
@ -23,6 +25,7 @@
home-manager, home-manager,
plasma-manager, plasma-manager,
nix-flatpak, nix-flatpak,
nixvim,
... ...
}: let }: let
system = "x86_64-linux"; system = "x86_64-linux";
@ -35,10 +38,12 @@
./config.nix ./config.nix
./packages.nix ./packages.nix
./flatpak.nix ./flatpak.nix
./plasma/plasma.nix
plasma-manager.homeManagerModules.plasma-manager
nix-flatpak.homeManagerModules.nix-flatpak nix-flatpak.homeManagerModules.nix-flatpak
./plasma/plasma.nix
plasma-manager.homeManagerModules.plasma-manager
nixvim.homeManagerModules.nixvim
./nixvim/nixvim.nix
]; ];
}; };
}; };

View file

@ -6,8 +6,8 @@
services.flatpak.enable = true; services.flatpak.enable = true;
services.flatpak.update.auto.enable = false; services.flatpak.update.auto.enable = false;
services.flatpak.uninstallUnmanaged = true; services.flatpak.uninstallUnmanaged = true;
services.flatpak.update.onActivation = true;
services.flatpak.packages = [ services.flatpak.packages = [
"com.obsproject.Studio"
"com.github.tchx84.Flatseal" "com.github.tchx84.Flatseal"
"com.github.wwmm.easyeffects" "com.github.wwmm.easyeffects"
"com.prusa3d.PrusaSlicer" "com.prusa3d.PrusaSlicer"
@ -22,10 +22,27 @@
"org.kde.krita" "org.kde.krita"
"org.kde.kwrite" "org.kde.kwrite"
"org.kde.okular" "org.kde.okular"
"org.kde.filelight"
"org.keepassxc.KeePassXC" "org.keepassxc.KeePassXC"
"org.libreoffice.LibreOffice" "org.libreoffice.LibreOffice"
"org.mozilla.Thunderbird" "org.mozilla.Thunderbird"
"com.github.Eloston.UngoogledChromium" "io.github.ungoogled_software.ungoogled_chromium"
"io.podman_desktop.PodmanDesktop" "org.sqlitebrowser.sqlitebrowser"
"io.github.jacalz.rymdport" # Wormhole
"ca.hamaluik.Timecop"
"org.kde.kleopatra"
"com.valvesoftware.Steam"
"io.github.nokse22.Exhibit"
"io.github.f3d_app.f3d"
"org.dune3d.dune3d"
"org.freecadweb.FreeCAD"
]; ];
services.flatpak.overrides = {
global.Context.filesystems = ["xdg-config/gtk-3.0"];
"com.valvesoftware.Steam".Context = {
filesystems = [
"/mnt/games:rw"
];
};
};
} }

View file

@ -7,4 +7,12 @@
home.username = "gkaklas"; home.username = "gkaklas";
home.homeDirectory = "/home/gkaklas"; home.homeDirectory = "/home/gkaklas";
home.stateVersion = "23.11"; home.stateVersion = "23.11";
services.kdeconnect.enable = true;
home.sessionVariables = rec {
EDITOR = "nvim";
};
home.sessionPath = [
"$HOME/bin"
];
} }

View file

@ -6,6 +6,11 @@
}: { }: {
imports = [./zellij.nix]; imports = [./zellij.nix];
home.file.".cargo/config.toml".text = ''
[build]
target-dir = "/mnt/build"
'';
home.file.".config/ripgrep/ignore".text = '' home.file.".config/ripgrep/ignore".text = ''
-. -.
''; '';
@ -13,6 +18,7 @@
home.file.".config/containers/storage.conf".text = '' home.file.".config/containers/storage.conf".text = ''
[storage] [storage]
rootless_storage_path="/mnt/storage/.containers" rootless_storage_path="/mnt/storage/.containers"
driver="btrfs"
''; '';
home.file.".config/keepassxc/keepassxc.ini".text = '' home.file.".config/keepassxc/keepassxc.ini".text = ''

45
home-manager/mpv.nix Normal file
View file

@ -0,0 +1,45 @@
{pkgs, ...}: {
programs.mpv = {
enable = true;
config={
volume = 50;
slang = "en,eng";
alang = "en,eng";
sub-scale-with-window=true;
fullscreen = true;
pause = true;
};
bindings = {
t = "show-progress";
UP = "add volume 5";
DOWN = "add volume -5";
WHEEL_UP = "add volume 5";
WHEEL_DOWN = "add volume -5";
RIGHT = "seek 10 exact";
LEFT = "seek -10 exact";
"Shift+RIGHT" = "seek 3 exact";
"Shift+LEFT" = "seek -3 exact";
"Ctrl+RIGHT" = "seek 60 exact";
"Ctrl+LEFT" = "seek -60 exact";
g = "add sub-delay -0.1";
h = "add sub-delay 0.1";
j = "add audio-delay -0.05";
k = "add audio-delay 0.05";
v = "cycle sub";
V = "cycle sub-visibility";
"[" = "add speed -0.01";
"]" = "add speed 0.01";
n = "playlist-next force";
p = "playlist-prev force";
Enter = "ignore";
};
};
}

View file

@ -0,0 +1,50 @@
{
pkgs,
config,
...
}: let
# Telescope
# { key = "<leader>ff";
# action = config.lib.nixvim.mkRaw "require('telescope.builtin').find_files";
# } becomes:
# { key = ldr "ff";
# action = mfn "telescope.builtin" "find_files";
# } becomes:
# (tscope "ff" "find_files")
lua = config.lib.nixvim.mkRaw;
ldr = k: "<leader>${k}";
key = k: fn: {
key = "${k}";
action = lua "${fn}";
};
lkey = k: fn: {
key = ldr "${k}";
action = lua "${fn}";
};
luaf = fn: "function() ${fn} end";
luafr = m: fn: "function() require('${m}').${fn} end";
mkey = module: k: fn: (lkey "${k}" "require('${module}').${fn}");
tscope = k: fn: mkey "telescope.builtin" "${k}" "${fn}";
gs = k: fn: mkey "gitsigns" "${k}" "${fn}";
in {
programs.nixvim.keymaps = [
(tscope "ff" "find_files")
(tscope "fg" "live_grep")
(tscope "fb" "buffers")
(tscope "fh" "help_tags")
(gs "hs" "stage_hunk")
(gs "rs" "reset_hunk")
(gs "hS" "stage_buffer")
(gs "hu" "undo_stage_hunk")
(gs "hR" "reset_buffer")
(gs "hp" "preview_hunk")
(gs "tb" "toggle_current_line_blame")
(gs "hd" "diffthis")
(gs "td" "toggle_deleted")
(key "<F5>" (luafr "nvim-tree.api" "tree.toggle()"))
(lkey "d" "vim.cmd.bdelete")
];
}

View file

@ -0,0 +1,109 @@
{
pkgs,
config,
...
}: {
imports = [
./keymaps.nix
];
programs.nixvim = {
enable = true;
plugins = {
# UI
nvim-tree.enable = true;
notify.enable = true;
which-key.enable = true;
headlines.enable = true;
neoscroll.enable = true;
statuscol.enable = true;
web-devicons.enable =true;
telescope.enable = true;
telescope.extensions = {
undo.enable = true;
file-browser = {
enable = true;
settings = {
use_fd = true;
hidden = true;
};
};
};
lualine = {
enable = true;
settings.options.theme="molokai";
};
barbar = {
enable = true;
settings = {
preset = "slanted";
};
};
# Code visibility
rainbow-delimiters.enable = true;
indent-blankline.enable = true;
# Languages
nix.enable = true;
rustaceanvim.enable = true;
# Git
neogit.enable = true;
diffview.enable = true;
gitsigns = {
enable = true;
settings = {
current_line_blame = true;
};
};
# Uncategorized
luasnip.enable = true;
cmp.enable = true;
cmp_luasnip.enable = true;
cmp-path.enable = true;
cmp-git.enable = true;
friendly-snippets.enable = true;
nvim-ufo.enable = true;
lazy.enable = true;
comment.enable = true;
treesitter.enable = true;
colorizer.enable = true;
};
plugins.noice= {
enable = true;
settings.presets = {
command_palette = true;
};
};
};
programs.nixvim.extraPlugins = [
pkgs.vimPlugins.legendary-nvim
pkgs.vimPlugins.guess-indent-nvim
pkgs.vimPlugins.vim-monokai-tasty
(pkgs.vimUtils.buildVimPlugin {
name = "cmp-async-path";
src = pkgs.fetchgit {
url = "https://codeberg.org/FelipeLema/cmp-async-path";
rev = "7df7f3721c45aac26b6e0474087538f4681c9c7a";
hash = "sha256-LSWWsn8aKogjWevcbjITXu30a2k3wY3+f2+l7WDAZpY=";
};
})
];
programs.nixvim.colorscheme = "vim-monokai-tasty";
programs.nixvim.clipboard.providers.wl-copy.enable = true;
programs.nixvim.opts = {
mousemoveevent = true;
relativenumber = true;
number = true;
scroll = 2;
foldlevel = 99;
foldlevelstart = 99;
foldenable = true;
};
programs.nixvim.globals = {
mapleader = ";";
};
}

View file

@ -1,17 +1,14 @@
{pkgs, ...}: { {pkgs, ...}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
# GUI # GUI
filelight
spotify-qt
lxqt.pavucontrol-qt lxqt.pavucontrol-qt
alacritty alacritty
usbimager usbimager
kdeplasma-addons kdePackages.kdeplasma-addons
plasma-systemmonitor kdePackages.plasma-systemmonitor
# CLI # CLI
fzf fzf
neovim
htop htop
nnn nnn
wl-clipboard wl-clipboard
@ -22,7 +19,6 @@
ncdu ncdu
dua dua
gnupg gnupg
spotifyd
mosh mosh
unzip unzip
yt-dlp yt-dlp

View file

@ -6,25 +6,7 @@
"kdeglobals"."Shortcuts"."Quit".value = ""; "kdeglobals"."Shortcuts"."Quit".value = "";
kwinrc = { kwinrc = {
Desktops = {
# uuidgen -rC6
"Id_1".value = "1c3962f3-bd6e-42e4-bcaf-9f1dc0a55cab";
"Id_2".value = "a76e8497-148d-44d8-96a1-026278642d79";
"Id_3".value = "e2f3dcc2-8009-46b0-af71-745daf70b846";
"Id_4".value = "4e471453-b165-4c9f-bc56-a2eb9e7f969e";
"Id_5".value = "645f9867-ff82-48b3-ac5b-cc389bc9fd31";
"Id_6".value = "95e0579d-b58f-47c7-a47f-5caf30cdf399";
"Name_1".value = "Web";
"Name_2".value = "Main";
"Name_3".value = "Comm";
"Name_4".value = "Aux1";
"Name_5".value = "Aux2";
"Name_6".value = "Music";
"Number".value = 6;
"Rows".value = 1;
};
"Windows"."FocusPolicy".value = "FocusFollowsMouse"; "Windows"."FocusPolicy".value = "FocusFollowsMouse";
"Windows"."BorderlessMaximizedWindows".value = true;
}; };
kcminputrc = { kcminputrc = {

View file

@ -16,6 +16,18 @@
lookAndFeel = "org.kde.breezedark.desktop"; lookAndFeel = "org.kde.breezedark.desktop";
wallpaper = "${pkgs.libsForQt5.plasma-workspace-wallpapers}/share/wallpapers/MilkyWay/contents/images/1080x1920.png"; wallpaper = "${pkgs.libsForQt5.plasma-workspace-wallpapers}/share/wallpapers/MilkyWay/contents/images/1080x1920.png";
}; };
kwin.virtualDesktops = {
rows = 1;
number = 6;
names = ["Web" "Main" "Comm" "Aux1" "Aux2" "Music"];
};
kwin.borderlessMaximizedWindows = true;
kwin.nightLight = {
enable = true;
mode = "location";
location.latitude = "37.9755648";
location.longitude = "23.7348324";
};
shortcuts = { shortcuts = {
ksmserver = { ksmserver = {

3
home-manager/ssh.nix Normal file
View file

@ -0,0 +1,3 @@
{pkgs, ...}: {
programs.ssh.enable = true;
}

View file

@ -13,6 +13,10 @@
normal { normal {
bind "Ctrl w" { SwitchToMode "pane"; } bind "Ctrl w" { SwitchToMode "pane"; }
bind "Ctrl '" { SwitchToMode "session"; } bind "Ctrl '" { SwitchToMode "session"; }
}
ui {
pane_frames {
rounded_corners true
} }
} }
''; '';
@ -36,16 +40,22 @@
pane { pane {
pane command="htop" pane command="htop"
pane command="watch" { pane command="watch" {
args "df" "-h" args "df -x tmpfs -x devtmpfs -x efivarfs -h"
} }
pane pane command="watch" {
args "sensors k10temp-pci-00c3"
}
} }
} }
} }
tab name="HM" cwd="~/nix" { tab name="HM" cwd="~/nix/home-manager" {
pane split_direction="vertical" { pane split_direction="vertical" {
pane pane
pane pane command="watchexec" {
args "-c" "--" "home-manager" "switch" "--flake" "path:/home/gkaklas/nix/home-manager/"
}
}
}
} }
} }
} }

View file

@ -43,7 +43,6 @@
subvolumes = { subvolumes = {
"gkaklas/.local/share/flatpak" = { "gkaklas/.local/share/flatpak" = {
mountpoint = "/home/gkaklas/.local/share/flatpak"; mountpoint = "/home/gkaklas/.local/share/flatpak";
mountOptions = ["defaults" "user"];
}; };
}; };
mountpoint = "/home"; mountpoint = "/home";
@ -55,7 +54,22 @@
type = "filesystem"; type = "filesystem";
format = "btrfs"; format = "btrfs";
mountpoint = "/mnt/storage"; mountpoint = "/mnt/storage";
mountOptions = ["defaults" "user"]; };
};
disko.devices.lvm_vg.VolGroup0.lvs.build = {
size = "20G";
content = {
type = "filesystem";
format = "btrfs";
mountpoint = "/mnt/build";
};
};
disko.devices.lvm_vg.VolGroup0.lvs.games = {
size = "20G";
content = {
type = "filesystem";
format = "btrfs";
mountpoint = "/mnt/games";
}; };
}; };
} }

View file

@ -5,8 +5,16 @@
... ...
}: { }: {
services.kanata.enable = true; services.kanata.enable = true;
services.kanata.keyboards.mykbd.extraDefCfg = ''
linux-dev-names-include (
"AT Translated Set 2 keyboard"
)
'';
services.kanata.keyboards.mykbd.config = '' services.kanata.keyboards.mykbd.config = ''
(defvirtualkeys
tld S-grv
)
(defsrc (defsrc
grv 1 2 3 4 5 6 7 8 9 0 - = bspc grv 1 2 3 4 5 6 7 8 9 0 - = bspc
tab q w f p b j l u y ' [ ] tab q w f p b j l u y ' [ ]
@ -54,13 +62,13 @@
XX XX XX XX 0 XX XX XX XX XX 0 XX
) )
(deflayer misc (deflayer symbols
;;grv 1 2 3 4 5 6 7 8 9 0 - = bspc ;;grv 1 2 3 4 5 6 7 8 9 0 - = bspc
XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
;;tab q w f p b j l u y ' [ ] ;;tab q w f p b j l u y ' [ ]
XX S-1 S-2 S-3 S-4 S-5 S-6 S-7 S-8 S-9 S-0 XX XX XX S-1 S-2 S-6 S-5 grv S-7 S-3 S-8 S-4 XX XX XX
;;caps a r s t g m n e i o ;;caps a r s t g m n e i o
XX XX XX XX XX XX XX [ S-[ S-9 XX XX XX XX XX XX @tld XX [ S-[ S-9 XX
;;lsft z x c d v k h , . / ;;lsft z x c d v k h , . /
XX XX XX XX XX XX XX ] S-] S-0 XX XX XX XX XX XX XX XX ] S-] S-0 XX
;;lctl lmet lalt spc ; ret ;;lctl lmet lalt spc ; ret
@ -69,12 +77,13 @@
(defalias (defalias
num (layer-while-held num) num (layer-while-held num)
arrows (layer-while-held arrows) arrows (layer-while-held arrows)
misc (layer-while-held misc) symbols (layer-while-held symbols)
cht (chord example t) cht (chord example t)
chs (chord example s) chs (chord example s)
chd (chord example d) chd (chord example d)
chspc (chord example spc) chspc (chord example spc)
chret (chord example ret) chret (chord example ret)
tld (on-press tap-virtualkey tld)
) )
(defchords example 500 (defchords example 500
(t) t (t) t
@ -84,7 +93,7 @@
(ret) ret (ret) ret
(spc s) @num (spc s) @num
(spc t) @arrows (spc t) @arrows
(spc d) @misc (spc d) @symbols
) )
''; '';
} }