Compare commits
38 Commits
46f52843ca
...
switching_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
644f85194b | ||
|
|
1cdac1fd73 | ||
| 5b58e02b97 | |||
|
|
384092291c | ||
|
|
f4e6ec8144 | ||
|
|
9a01abb83b | ||
|
|
e832b7fd33 | ||
|
|
b0b071749b | ||
|
|
cd42fbdd59 | ||
| 12240a9bc7 | |||
|
|
31f5958614 | ||
|
|
39bbdd94e1 | ||
|
|
a464fbb408 | ||
|
|
81d8cc061a | ||
|
|
d566527584 | ||
|
|
3551f351af | ||
|
|
64e7177cc8 | ||
|
|
508da275c4 | ||
|
|
d75f2996e3 | ||
|
|
6a3ba3cbaa | ||
|
|
71029a6259 | ||
|
|
ee8ed72924 | ||
| d407a3598e | |||
|
|
773bcf8c03 | ||
|
|
bff6ccf55c | ||
|
|
af67c443ad | ||
|
|
c3cadbcb29 | ||
|
|
973dcd58a7 | ||
|
|
7cd4ab4e3d | ||
|
|
da6e9496a3 | ||
|
|
d10f1b6191 | ||
|
|
3c99fff890 | ||
| b1a56e9614 | |||
|
|
72858a9a87 | ||
|
|
8026ce5f17 | ||
|
|
2a3a42a087 | ||
|
|
793174f97d | ||
|
|
80440f91e7 |
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
|||||||
git-diff.txt
|
git-diff.txt
|
||||||
|
packages/result
|
||||||
83
.vscode/bookmarks.code-snippets
vendored
Normal file
83
.vscode/bookmarks.code-snippets
vendored
Normal file
@@ -0,0 +1,83 @@
|
|||||||
|
{
|
||||||
|
// Place your zaneyos workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
|
||||||
|
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
|
||||||
|
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
|
||||||
|
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
||||||
|
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
||||||
|
// Placeholders with the same ids are connected.
|
||||||
|
// Example:
|
||||||
|
// "Print to console": {
|
||||||
|
// "scope": "javascript,typescript",
|
||||||
|
// "prefix": "log",
|
||||||
|
// "body": [
|
||||||
|
// "console.log('$1');",
|
||||||
|
// "$2"
|
||||||
|
// ],
|
||||||
|
// "description": "Log output to console"
|
||||||
|
// }
|
||||||
|
"bm-link": {
|
||||||
|
"scope": "nix",
|
||||||
|
"prefix": "bm-link",
|
||||||
|
"body": [
|
||||||
|
"{",
|
||||||
|
" name = \"\";",
|
||||||
|
" tags = [];",
|
||||||
|
" keyword = \"@\";",
|
||||||
|
" url = \"\";",
|
||||||
|
"}"
|
||||||
|
],
|
||||||
|
"description": "Home-manager Bookmark link"
|
||||||
|
},
|
||||||
|
"bm-folder": {
|
||||||
|
"scope": "nix",
|
||||||
|
"prefix": "bm-folder",
|
||||||
|
"body": [
|
||||||
|
"{",
|
||||||
|
" name = \"\";",
|
||||||
|
" toolbar = true;",
|
||||||
|
" bookmarks = [];",
|
||||||
|
"}"
|
||||||
|
],
|
||||||
|
"description": "Home-manager Bookmark folder"
|
||||||
|
},
|
||||||
|
"search-engine": {
|
||||||
|
"scope": "nix",
|
||||||
|
"prefix": "search-engine",
|
||||||
|
"description": "Home-manager Search engine",
|
||||||
|
"body": [
|
||||||
|
"\"\" = {",
|
||||||
|
" definedAliases = [];",
|
||||||
|
" icon = \"\";",
|
||||||
|
" urls = [",
|
||||||
|
" {",
|
||||||
|
" template = \"\";",
|
||||||
|
" params = [",
|
||||||
|
" {",
|
||||||
|
" name = \"\";",
|
||||||
|
" value = \"{searchTerms}\";",
|
||||||
|
" }",
|
||||||
|
" ];",
|
||||||
|
" }",
|
||||||
|
" ];",
|
||||||
|
"};"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nix-config": {
|
||||||
|
"scope": "nix",
|
||||||
|
"prefix": "nix-config",
|
||||||
|
"description": "Config do pliku .nix",
|
||||||
|
"body": [
|
||||||
|
"{pkgs, ...}: {}"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"nix-config=nixpkgs": {
|
||||||
|
"scope": "nix",
|
||||||
|
"prefix": "nix-config-nixpkgs",
|
||||||
|
"description": "Config do pliku .nix z nixpkgs",
|
||||||
|
"body": [
|
||||||
|
"{pkgs, ... }: {",
|
||||||
|
" environment.systemPackages = with pkgs; [];",
|
||||||
|
"}",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
7
.vscode/settings.json
vendored
7
.vscode/settings.json
vendored
@@ -18,5 +18,10 @@
|
|||||||
},
|
},
|
||||||
"editor.formatOnPaste": true,
|
"editor.formatOnPaste": true,
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.defaultFormatter": "jnoortheen.nix-ide"
|
"[nix]": {
|
||||||
|
"editor.defaultFormatter": "jnoortheen.nix-ide",
|
||||||
|
},
|
||||||
|
"[json]": {
|
||||||
|
"editor.defaultFormatter": "vscode.json-language-features"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -10,16 +10,16 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
logo = {
|
# logo = {
|
||||||
source = ./nixos.png;
|
# source = ./nixos.png;
|
||||||
type = "kitty-direct";
|
# type = "kitty-direct";
|
||||||
height = 15;
|
# height = 15;
|
||||||
width = 30;
|
# width = 30;
|
||||||
padding = {
|
# padding = {
|
||||||
top = 3;
|
# top = 3;
|
||||||
left = 3;
|
# left = 3;
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
"break"
|
"break"
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
|
pkgs,
|
||||||
username,
|
username,
|
||||||
host,
|
host,
|
||||||
config,
|
config,
|
||||||
@@ -18,6 +19,7 @@ in
|
|||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
xwayland.enable = true;
|
||||||
systemd.enable = true;
|
systemd.enable = true;
|
||||||
|
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||||
extraConfig = let
|
extraConfig = let
|
||||||
modifier = "SUPER";
|
modifier = "SUPER";
|
||||||
in
|
in
|
||||||
@@ -67,13 +69,14 @@ in
|
|||||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||||
accel_profile = flat
|
accel_profile = flat
|
||||||
}
|
}
|
||||||
windowrule = noborder,^(wofi)$
|
windowrulev2 = noborder, class:^(wofi)$
|
||||||
windowrule = center,^(wofi)$
|
windowrulev2 = center, class:^(wofi)$
|
||||||
windowrule = center,^(steam)$
|
windowrulev2 = center, class:^(steam)$
|
||||||
windowrule = float, nm-connection-editor|blueman-manager
|
windowrulev2 = float, class:^(nm-connection-editor|blueman-manager)$
|
||||||
windowrule = float, swayimg|vlc|Viewnior|pavucontrol
|
windowrulev2 = float, class:^(swayimg|vlc|Viewnior|pavucontrol)$
|
||||||
windowrule = float, nwg-look|qt5ct|mpv
|
windowrulev2 = float, class:^(nwg-look|qt5ct|mpv)$
|
||||||
windowrule = float, zoom
|
windowrulev2 = float, class:^(zoom)$
|
||||||
|
windowrulev2 = float, class:^(galculator)$
|
||||||
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
|
windowrulev2 = stayfocused, title:^()$,class:^(steam)$
|
||||||
windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
|
windowrulev2 = minsize 1 1, title:^()$,class:^(steam)$
|
||||||
windowrulev2 = opacity 1 0.7, class:^(librewolf)$
|
windowrulev2 = opacity 1 0.7, class:^(librewolf)$
|
||||||
@@ -85,6 +88,16 @@ in
|
|||||||
windowrulev2 = opacity 0.9 0.7, class:^(chrome-ppepjbbmpdbanediafpgploonglppmlk-Default)$
|
windowrulev2 = opacity 0.9 0.7, class:^(chrome-ppepjbbmpdbanediafpgploonglppmlk-Default)$
|
||||||
windowrulev2 = opacity 0.9 0.7, class:^(tutanota-desktop)$
|
windowrulev2 = opacity 0.9 0.7, class:^(tutanota-desktop)$
|
||||||
windowrulev2 = opacity 0.9 0.7, class:^(discord)$
|
windowrulev2 = opacity 0.9 0.7, class:^(discord)$
|
||||||
|
windowrulev2 = opacity 0.9 0.7, class:^(ONLYOFFICE)$
|
||||||
|
windowrulev2 = opacity 0.9 0.7, class:^(net.lutris.Lutris)$
|
||||||
|
windowrulev2 = opacity 0.9 0.7, class:^(chrome-nibpilkookahlimkjopijpmhgllidlok-Default)$
|
||||||
|
windowrulev2 = opacity 0.9 0.7, class:^(Anki)$
|
||||||
|
windowrulev2 = opacity 0.9 0.7, class:^(galculator)$
|
||||||
|
windowrulev2 = opacity 0.9 0.7, class:^(chrome-mcpclnpikkcgnjfknenfalelmlaccfcj-Default)$
|
||||||
|
windowrulev2 = opacity 0.9 0.7, class:^(chrome-dbipeoijaciefjfbfdkpfncmlbfinpge-Default)$
|
||||||
|
windowrulev2 = opacity 0.9 0.7, class:^(Bitwarden)$
|
||||||
|
windowrulev2 = opacity 0.9 0.7, class:^(chrome-akpamiohjfcnimfljfndmaldlcfphjmp-Default)$
|
||||||
|
windowrulev2 = opacity 0.9 0.7, class:^(dev.warp.Warp)$
|
||||||
gestures {
|
gestures {
|
||||||
workspace_swipe = true
|
workspace_swipe = true
|
||||||
workspace_swipe_fingers = 3
|
workspace_swipe_fingers = 3
|
||||||
@@ -132,31 +145,18 @@ in
|
|||||||
pseudotile = true
|
pseudotile = true
|
||||||
preserve_split = true
|
preserve_split = true
|
||||||
}
|
}
|
||||||
bind = ${modifier},Return,exec,${terminal}
|
|
||||||
bind = ${modifier}SHIFT,Return,exec,rofi-launcher
|
|
||||||
bind = ${modifier}SHIFT,W,exec,web-search
|
|
||||||
bind = ${modifier},V,exec,codium
|
|
||||||
bind = ${modifier}ALT,W,exec,wallsetter
|
|
||||||
bind = ${modifier}SHIFT,N,exec,swaync-client -rs
|
|
||||||
bind = ${modifier},W,exec,${browser}
|
|
||||||
bind = ${modifier},E,exec,emopicker9000
|
|
||||||
bind = ${modifier},S,exec,screenshootin
|
|
||||||
bind = ${modifier}SHIFT,S,exec,slack
|
|
||||||
bind = ${modifier},D,exec,discord
|
|
||||||
bind = ${modifier},O,exec,obs
|
|
||||||
bind = ${modifier},C,exec,hyprpicker -a
|
|
||||||
bind = ${modifier},G,exec,gimp
|
|
||||||
bind = ${modifier}SHIFT,G,exec,godot4
|
|
||||||
bind = ${modifier},T,exec,thunar
|
|
||||||
bind = ${modifier}SHIFT,T,exec,tutanota-desktop
|
|
||||||
bind = ${modifier},M,exec,plexamp
|
|
||||||
bind = ${modifier}SHIFT,M,exec,chrome-bbdeiblfgdokhlblpgeaokenkfknecgl-Default
|
|
||||||
bind = ${modifier},Q,killactive,
|
bind = ${modifier},Q,killactive,
|
||||||
|
bind = ${modifier},Escape,exit,
|
||||||
bind = ${modifier},P,pseudo,
|
bind = ${modifier},P,pseudo,
|
||||||
bind = ${modifier}SHIFT,I,togglesplit,
|
bind = ${modifier}SHIFT,I,togglesplit,
|
||||||
bind = ${modifier},F,fullscreen,
|
bind = ${modifier},F,fullscreen,
|
||||||
bind = ${modifier}SHIFT,F,togglefloating,
|
bind = ${modifier}SHIFT,F,togglefloating,
|
||||||
bind = ${modifier}SHIFT,C,exit,
|
bind = ALT,Tab,cyclenext
|
||||||
|
bind = ALT,Tab,bringactivetotop
|
||||||
|
bind = ${modifier},left,movefocus,l
|
||||||
|
bind = ${modifier},right,movefocus,r
|
||||||
|
bind = ${modifier},up,movefocus,u
|
||||||
|
bind = ${modifier},down,movefocus,d
|
||||||
bind = ${modifier}SHIFT,left,movewindow,l
|
bind = ${modifier}SHIFT,left,movewindow,l
|
||||||
bind = ${modifier}SHIFT,right,movewindow,r
|
bind = ${modifier}SHIFT,right,movewindow,r
|
||||||
bind = ${modifier}SHIFT,up,movewindow,u
|
bind = ${modifier}SHIFT,up,movewindow,u
|
||||||
@@ -165,14 +165,6 @@ in
|
|||||||
bind = ${modifier}SHIFT,l,movewindow,r
|
bind = ${modifier}SHIFT,l,movewindow,r
|
||||||
bind = ${modifier}SHIFT,k,movewindow,u
|
bind = ${modifier}SHIFT,k,movewindow,u
|
||||||
bind = ${modifier}SHIFT,j,movewindow,d
|
bind = ${modifier}SHIFT,j,movewindow,d
|
||||||
bind = ${modifier},left,movefocus,l
|
|
||||||
bind = ${modifier},right,movefocus,r
|
|
||||||
bind = ${modifier},up,movefocus,u
|
|
||||||
bind = ${modifier},down,movefocus,d
|
|
||||||
bind = ${modifier},h,movefocus,l
|
|
||||||
bind = ${modifier},l,movefocus,r
|
|
||||||
bind = ${modifier},k,movefocus,u
|
|
||||||
bind = ${modifier},j,movefocus,d
|
|
||||||
bind = ${modifier},1,workspace,1
|
bind = ${modifier},1,workspace,1
|
||||||
bind = ${modifier},2,workspace,2
|
bind = ${modifier},2,workspace,2
|
||||||
bind = ${modifier},3,workspace,3
|
bind = ${modifier},3,workspace,3
|
||||||
@@ -183,8 +175,6 @@ in
|
|||||||
bind = ${modifier},8,workspace,8
|
bind = ${modifier},8,workspace,8
|
||||||
bind = ${modifier},9,workspace,9
|
bind = ${modifier},9,workspace,9
|
||||||
bind = ${modifier},0,workspace,10
|
bind = ${modifier},0,workspace,10
|
||||||
bind = ${modifier}SHIFT,SPACE,movetoworkspace,special
|
|
||||||
bind = ${modifier},SPACE,togglespecialworkspace
|
|
||||||
bind = ${modifier}SHIFT,1,movetoworkspace,1
|
bind = ${modifier}SHIFT,1,movetoworkspace,1
|
||||||
bind = ${modifier}SHIFT,2,movetoworkspace,2
|
bind = ${modifier}SHIFT,2,movetoworkspace,2
|
||||||
bind = ${modifier}SHIFT,3,movetoworkspace,3
|
bind = ${modifier}SHIFT,3,movetoworkspace,3
|
||||||
@@ -201,8 +191,42 @@ in
|
|||||||
bind = ${modifier},mouse_up,workspace, e-1
|
bind = ${modifier},mouse_up,workspace, e-1
|
||||||
bindm = ${modifier},mouse:272,movewindow
|
bindm = ${modifier},mouse:272,movewindow
|
||||||
bindm = ${modifier},mouse:273,resizewindow
|
bindm = ${modifier},mouse:273,resizewindow
|
||||||
bind = ALT,Tab,cyclenext
|
bind = ${modifier}SHIFT,SPACE,movetoworkspace,special
|
||||||
bind = ALT,Tab,bringactivetotop
|
bind = ${modifier},SPACE,togglespecialworkspace
|
||||||
|
bind = ${modifier},Return,exec,${terminal}
|
||||||
|
bind = ${modifier}SHIFT,Return,exec,rofi-launcher
|
||||||
|
bind = ${modifier}ALT,W,exec,wallsetter
|
||||||
|
bind = ${modifier}SHIFT,S,exec,screenshootin
|
||||||
|
bind = ${modifier},E,exec,emopicker9000
|
||||||
|
bind = ${modifier}SHIFT,P,exec,hyprpicker -a
|
||||||
|
bind = ${modifier}SHIFT,W,exec,web-search
|
||||||
|
bind = ${modifier}SHIFT,K,exec,galculator
|
||||||
|
bind = ${modifier},B,exec,btop
|
||||||
|
bind = ${modifier}SHIFT,B,exec,blueman-manager
|
||||||
|
bind = ${modifier},T,exec,thunar
|
||||||
|
bind = ${modifier},W,exec,${browser}
|
||||||
|
bind = ${modifier},S,exec,slack
|
||||||
|
bind = ${modifier},D,exec,discord
|
||||||
|
bind = ${modifier},C,exec,chromium
|
||||||
|
bind = ${modifier}SHIFT,C,exec,dex-claude
|
||||||
|
bind = ${modifier}SHIFT,G,exec,dex-chatgpt
|
||||||
|
bind = ${modifier}SHIFT,M,exec,dex-messenger
|
||||||
|
bind = ${modifier}SHIFT,T,exec,tutanota-desktop
|
||||||
|
bind = ${modifier},I,exec,dex-instagram
|
||||||
|
bind = ${modifier},R,exec,dex-portainer
|
||||||
|
bind = ${modifier},U,exec,dex-mastodon
|
||||||
|
bind = ${modifier},Y,exec,freetube
|
||||||
|
bind = ${modifier}SHIFT,Y,exec,dex-dailydev
|
||||||
|
bind = ${modifier},V,exec,codium
|
||||||
|
bind = ${modifier},O,exec,onlyoffice-desktopeditors
|
||||||
|
bind = ${modifier}SHIFT,O,exec,obs
|
||||||
|
bind = ${modifier},G,exec,gimp3
|
||||||
|
bind = ${modifier},N,exec,dex-nextcloud
|
||||||
|
bind = ${modifier}SHIFT,N,exec,nextcloud
|
||||||
|
bind = ${modifier},L,exec,lutris
|
||||||
|
bind = ${modifier},A,exec,anki
|
||||||
|
bind = ${modifier},M,exec,plexamp
|
||||||
|
bind = ${modifier},Z,exec,dex-beszel
|
||||||
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
bind = ,XF86AudioRaiseVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+
|
||||||
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
bind = ,XF86AudioLowerVolume,exec,wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
|
||||||
binde = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
binde = ,XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
|
||||||
|
|||||||
175
flake.lock
generated
175
flake.lock
generated
@@ -7,11 +7,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739098586,
|
"lastModified": 1748372346,
|
||||||
"narHash": "sha256-08FW+tVGWQKdiPZqXk6FO1JNB/Zybi7IYSWSGpp8V0Y=",
|
"narHash": "sha256-7y7NZ6uW0GbT0h4gqfD2xvRuJj5IlPGw32oIc9Twga8=",
|
||||||
"owner": "AdnanHodzic",
|
"owner": "AdnanHodzic",
|
||||||
"repo": "auto-cpufreq",
|
"repo": "auto-cpufreq",
|
||||||
"rev": "e6bbd2c8335a33f25a3fcb3bd2376e790f460ba2",
|
"rev": "becd5b89963fa54fef3566147f3fd2087f8a5842",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -25,11 +25,11 @@
|
|||||||
"fromYaml": "fromYaml"
|
"fromYaml": "fromYaml"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732200724,
|
"lastModified": 1746562888,
|
||||||
"narHash": "sha256-+R1BH5wHhfnycySb7Sy5KbYEaTJZWm1h+LW1OtyhiTs=",
|
"narHash": "sha256-YgNJQyB5dQiwavdDFBMNKk1wyS77AtdgDk/VtU6wEaI=",
|
||||||
"owner": "SenchoPens",
|
"owner": "SenchoPens",
|
||||||
"repo": "base16.nix",
|
"repo": "base16.nix",
|
||||||
"rev": "153d52373b0fb2d343592871009a286ec8837aec",
|
"rev": "806a1777a5db2a1ef9d5d6f493ef2381047f2b89",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -87,14 +87,36 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"firefox-addons": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"dir": "pkgs/firefox-addons",
|
||||||
|
"lastModified": 1748664200,
|
||||||
|
"narHash": "sha256-D8sWEVVvxDBJsr8h26AGDfYjp56iKUIHCWaOKucDT2c=",
|
||||||
|
"owner": "rycee",
|
||||||
|
"repo": "nur-expressions",
|
||||||
|
"rev": "b7d07ac2748936643abe8192065a2156f1a46d6e",
|
||||||
|
"type": "gitlab"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"dir": "pkgs/firefox-addons",
|
||||||
|
"owner": "rycee",
|
||||||
|
"repo": "nur-expressions",
|
||||||
|
"type": "gitlab"
|
||||||
|
}
|
||||||
|
},
|
||||||
"firefox-gnome-theme": {
|
"firefox-gnome-theme": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1736899990,
|
"lastModified": 1744642301,
|
||||||
"narHash": "sha256-S79Hqn2EtSxU4kp99t8tRschSifWD4p/51++0xNWUxw=",
|
"narHash": "sha256-5A6LL7T0lttn1vrKsNOKUk9V0ittdW0VEqh6AtefxJ4=",
|
||||||
"owner": "rafaelmardojai",
|
"owner": "rafaelmardojai",
|
||||||
"repo": "firefox-gnome-theme",
|
"repo": "firefox-gnome-theme",
|
||||||
"rev": "91ca1f82d717b02ceb03a3f423cbe8082ebbb26d",
|
"rev": "59e3de00f01e5adb851d824cf7911bd90c31083a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -104,7 +126,6 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-compat": {
|
"flake-compat": {
|
||||||
"flake": false,
|
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733328505,
|
"lastModified": 1733328505,
|
||||||
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
||||||
@@ -119,24 +140,24 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils": {
|
"flake-parts": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"systems": [
|
"nixpkgs-lib": [
|
||||||
"stylix",
|
"stylix",
|
||||||
"systems"
|
"nixpkgs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731533236,
|
"lastModified": 1733312601,
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
"narHash": "sha256-4pDvzqnegAfRkPwO3wmwBhVi/Sye1mzps0zHWYnP88c=",
|
||||||
"owner": "numtide",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-parts",
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
"rev": "205b12d8b7cd4802fbcb8e8ef6a0f1408781a4f9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "numtide",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-parts",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -169,11 +190,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735882644,
|
"lastModified": 1742649964,
|
||||||
"narHash": "sha256-3FZAG+pGt3OElQjesCAWeMkQ7C/nB1oTHLRQ8ceP110=",
|
"narHash": "sha256-DwOTp7nvfi8mRfuL1escHDXabVXFGT1VlPD1JHrtrco=",
|
||||||
"owner": "cachix",
|
"owner": "cachix",
|
||||||
"repo": "git-hooks.nix",
|
"repo": "git-hooks.nix",
|
||||||
"rev": "a5a961387e75ae44cc20f0a57ae463da5e959656",
|
"rev": "dcf5072734cb576d2b0c59b2ac44f5050b5eac82",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -207,16 +228,16 @@
|
|||||||
"gnome-shell": {
|
"gnome-shell": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1732369855,
|
"lastModified": 1744584021,
|
||||||
"narHash": "sha256-JhUWbcYPjHO3Xs3x9/Z9RuqXbcp5yhPluGjwsdE2GMg=",
|
"narHash": "sha256-0RJ4mJzf+klKF4Fuoc8VN8dpQQtZnKksFmR2jhWE1Ew=",
|
||||||
"owner": "GNOME",
|
"owner": "GNOME",
|
||||||
"repo": "gnome-shell",
|
"repo": "gnome-shell",
|
||||||
"rev": "dadd58f630eeea41d645ee225a63f719390829dc",
|
"rev": "52c517c8f6c199a1d6f5118fae500ef69ea845ae",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "GNOME",
|
"owner": "GNOME",
|
||||||
"ref": "47.2",
|
"ref": "48.1",
|
||||||
"repo": "gnome-shell",
|
"repo": "gnome-shell",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
@@ -228,11 +249,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739287084,
|
"lastModified": 1748668774,
|
||||||
"narHash": "sha256-CtRNJsqsXIArJV+AKWZVBMO8PD1FQB69br+WMtTJEgI=",
|
"narHash": "sha256-fYk/vk4ClmvHIgnGv/5GNRiDLtNCwXo9aLq36L/x+P4=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "8f351726c5841d86854e7fa6003ea472352f5208",
|
"rev": "60e4624302d956fe94d3f7d96a560d14d70591b9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -244,11 +265,11 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739020877,
|
"lastModified": 1748460289,
|
||||||
"narHash": "sha256-mIvECo/NNdJJ/bXjNqIh8yeoSjVLAuDuTUzAo7dzs8Y=",
|
"narHash": "sha256-7doLyJBzCllvqX4gszYtmZUToxKvMUrg45EUWaUYmBg=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "a79cfe0ebd24952b580b1cf08cd906354996d547",
|
"rev": "96ec055edbe5ee227f28cdbc3f1ddf1df5965102",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -258,9 +279,36 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nur": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": [
|
||||||
|
"stylix",
|
||||||
|
"flake-parts"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"stylix",
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"treefmt-nix": "treefmt-nix"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1746056780,
|
||||||
|
"narHash": "sha256-/emueQGaoT4vu0QjU9LDOG5roxRSfdY0K2KkxuzazcM=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"rev": "d476cd0972dd6242d76374fcc277e6735715c167",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "NUR",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"auto-cpufreq": "auto-cpufreq",
|
"auto-cpufreq": "auto-cpufreq",
|
||||||
|
"firefox-addons": "firefox-addons",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"stylix": "stylix"
|
"stylix": "stylix"
|
||||||
@@ -274,7 +322,7 @@
|
|||||||
"base16-vim": "base16-vim",
|
"base16-vim": "base16-vim",
|
||||||
"firefox-gnome-theme": "firefox-gnome-theme",
|
"firefox-gnome-theme": "firefox-gnome-theme",
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
"flake-utils": "flake-utils",
|
"flake-parts": "flake-parts",
|
||||||
"git-hooks": "git-hooks",
|
"git-hooks": "git-hooks",
|
||||||
"gnome-shell": "gnome-shell",
|
"gnome-shell": "gnome-shell",
|
||||||
"home-manager": [
|
"home-manager": [
|
||||||
@@ -283,18 +331,20 @@
|
|||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
],
|
||||||
|
"nur": "nur",
|
||||||
"systems": "systems",
|
"systems": "systems",
|
||||||
"tinted-foot": "tinted-foot",
|
"tinted-foot": "tinted-foot",
|
||||||
"tinted-kitty": "tinted-kitty",
|
"tinted-kitty": "tinted-kitty",
|
||||||
|
"tinted-schemes": "tinted-schemes",
|
||||||
"tinted-tmux": "tinted-tmux",
|
"tinted-tmux": "tinted-tmux",
|
||||||
"tinted-zed": "tinted-zed"
|
"tinted-zed": "tinted-zed"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739215427,
|
"lastModified": 1748621009,
|
||||||
"narHash": "sha256-1yIsiPwwxXal7+wkWogjPhsM5BjRlK61lAHQtlX8s04=",
|
"narHash": "sha256-X7SqoEEHVsR01GwL9WBs3tuSXdit7YdeBdIHrl+MlZQ=",
|
||||||
"owner": "danth",
|
"owner": "danth",
|
||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"rev": "4af2686c1c62176d0ce28c4d55e813ae5ed52b6f",
|
"rev": "b69e9b761ee682b722e2c9ce46637e767b50f6dc",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -338,28 +388,43 @@
|
|||||||
"tinted-kitty": {
|
"tinted-kitty": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1716423189,
|
"lastModified": 1735730497,
|
||||||
"narHash": "sha256-2xF3sH7UIwegn+2gKzMpFi3pk5DlIlM18+vj17Uf82U=",
|
"narHash": "sha256-4KtB+FiUzIeK/4aHCKce3V9HwRvYaxX+F1edUrfgzb8=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "tinted-kitty",
|
"repo": "tinted-kitty",
|
||||||
"rev": "eb39e141db14baef052893285df9f266df041ff8",
|
"rev": "de6f888497f2c6b2279361bfc790f164bfd0f3fa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "tinted-kitty",
|
"repo": "tinted-kitty",
|
||||||
"rev": "eb39e141db14baef052893285df9f266df041ff8",
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tinted-schemes": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1744974599,
|
||||||
|
"narHash": "sha256-Fg+rdGs5FAgfkYNCs74lnl8vkQmiZVdBsziyPhVqrlY=",
|
||||||
|
"owner": "tinted-theming",
|
||||||
|
"repo": "schemes",
|
||||||
|
"rev": "28c26a621123ad4ebd5bbfb34ab39421c0144bdd",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "tinted-theming",
|
||||||
|
"repo": "schemes",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tinted-tmux": {
|
"tinted-tmux": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1735737224,
|
"lastModified": 1745111349,
|
||||||
"narHash": "sha256-FO2hRBkZsjlIRqzNHCPc/52yxg11kHGA8MEtSun9RwE=",
|
"narHash": "sha256-udV+nHdpqgkJI9D0mtvvAzbqubt9jdifS/KhTTbJ45w=",
|
||||||
"owner": "tinted-theming",
|
"owner": "tinted-theming",
|
||||||
"repo": "tinted-tmux",
|
"repo": "tinted-tmux",
|
||||||
"rev": "aead506a9930c717ebf81cc83a2126e9ca08fa64",
|
"rev": "e009f18a01182b63559fb28f1c786eb027c3dee9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -383,6 +448,28 @@
|
|||||||
"repo": "base16-zed",
|
"repo": "base16-zed",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"treefmt-nix": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"stylix",
|
||||||
|
"nur",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1733222881,
|
||||||
|
"narHash": "sha256-JIPcz1PrpXUCbaccEnrcUS8jjEb/1vJbZz5KkobyFdM=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "treefmt-nix",
|
||||||
|
"rev": "49717b5af6f80172275d47a418c9719a31a78b53",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "treefmt-nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
11
flake.nix
11
flake.nix
@@ -18,6 +18,10 @@
|
|||||||
url = "github:AdnanHodzic/auto-cpufreq";
|
url = "github:AdnanHodzic/auto-cpufreq";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
firefox-addons = {
|
||||||
|
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {
|
outputs = {
|
||||||
@@ -25,7 +29,7 @@
|
|||||||
home-manager,
|
home-manager,
|
||||||
...
|
...
|
||||||
} @ inputs: let
|
} @ inputs: let
|
||||||
system = "aarch64-linux";
|
system = "x86_64-linux";
|
||||||
host = "garand-laptop";
|
host = "garand-laptop";
|
||||||
username = "garand_plg";
|
username = "garand_plg";
|
||||||
in {
|
in {
|
||||||
@@ -44,11 +48,12 @@
|
|||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.extraSpecialArgs = {
|
home-manager.extraSpecialArgs = {
|
||||||
inherit username;
|
inherit system;
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
|
inherit username;
|
||||||
inherit host;
|
inherit host;
|
||||||
};
|
};
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = false;
|
||||||
home-manager.useUserPackages = true;
|
home-manager.useUserPackages = true;
|
||||||
home-manager.backupFileExtension = "backup";
|
home-manager.backupFileExtension = "backup";
|
||||||
home-manager.users.${username} = import ./hosts/${host}/home.nix;
|
home-manager.users.${username} = import ./hosts/${host}/home.nix;
|
||||||
|
|||||||
@@ -309,7 +309,7 @@ in {
|
|||||||
swaynotificationcenter
|
swaynotificationcenter
|
||||||
imv
|
imv
|
||||||
mpv
|
mpv
|
||||||
gimp
|
gimp3
|
||||||
pavucontrol
|
pavucontrol
|
||||||
tree
|
tree
|
||||||
greetd.tuigreet
|
greetd.tuigreet
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
{...}: let
|
{...}: {
|
||||||
inherit (import ./variables.nix) keyboardLayout;
|
|
||||||
in {
|
|
||||||
imports = [
|
imports = [
|
||||||
./hardware.nix
|
./hardware.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
@@ -10,7 +8,16 @@ in {
|
|||||||
./config/hardware.nix
|
./config/hardware.nix
|
||||||
./config/localization.nix
|
./config/localization.nix
|
||||||
./config/networking.nix
|
./config/networking.nix
|
||||||
|
|
||||||
./config/nixpkgs.nix
|
./config/nixpkgs.nix
|
||||||
|
./config/nixpkgs/clients.nix
|
||||||
|
# ./config/nixpkgs/codium.nix
|
||||||
|
./config/nixpkgs/fundamentals.nix
|
||||||
|
./config/nixpkgs/gaming.nix
|
||||||
|
./config/nixpkgs/multimedia.nix
|
||||||
|
./config/nixpkgs/tools.nix
|
||||||
|
./config/nixpkgs/tty.nix
|
||||||
|
|
||||||
./config/programs.nix
|
./config/programs.nix
|
||||||
./config/security.nix
|
./config/security.nix
|
||||||
./config/services.nix
|
./config/services.nix
|
||||||
@@ -25,40 +32,6 @@ in {
|
|||||||
../../modules/local-hardware-clock.nix
|
../../modules/local-hardware-clock.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
users = {
|
|
||||||
mutableUsers = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# fileSystems."/mnt/Garand-Library" = {
|
|
||||||
# device = "//192.168.1.156/Garand-Library";
|
|
||||||
# fsType = "cifs";
|
|
||||||
# options = [
|
|
||||||
# "rw" # Odczyt i zapis
|
|
||||||
# "uid=1000" # UID użytkownika montującego (np. 1000 to często UID pierwszego użytkownika)
|
|
||||||
# "gid=100" # GID grupy użytkownika montującego
|
|
||||||
# "file_mode=0775" # Uprawnienia dla plików
|
|
||||||
# "dir_mode=0775" # Uprawnienia dla katalogów
|
|
||||||
# "credentials=/etc/smb-credentials"
|
|
||||||
# ];
|
|
||||||
# };
|
|
||||||
|
|
||||||
# services.openvpn.servers = {
|
|
||||||
# RO-P2P = {
|
|
||||||
# config = ''
|
|
||||||
# config /home/garand_plg/Documents/RO-ovpn-tcp.ovpn
|
|
||||||
# '';
|
|
||||||
# updateResolvConf = true;
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
|
|
||||||
console.keyMap = "${keyboardLayout}";
|
|
||||||
|
|
||||||
# Open ports in the firewall.
|
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
|
||||||
# Or disable the firewall altogether.
|
|
||||||
# networking.firewall.enable = false;
|
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi.canTouchEfiVariables = true;
|
efi.canTouchEfiVariables = true;
|
||||||
};
|
};
|
||||||
|
initrd.systemd.dbus.enable = true;
|
||||||
# Make /tmp a tmpfs
|
# Make /tmp a tmpfs
|
||||||
tmp = {
|
tmp = {
|
||||||
useTmpfs = false;
|
useTmpfs = false;
|
||||||
|
|||||||
@@ -20,4 +20,18 @@
|
|||||||
enable32Bit = true;
|
enable32Bit = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# fileSystems."/mnt/Garand-Library" = {
|
||||||
|
# device = "//192.168.1.156/Garand-Library";
|
||||||
|
# fsType = "cifs";
|
||||||
|
# options = [
|
||||||
|
# "credentials=/etc/smb-credentials"
|
||||||
|
# "uid=1000"
|
||||||
|
# "gid=100"
|
||||||
|
# "iocharset=utf8"
|
||||||
|
# "x-systemd.automount"
|
||||||
|
# "x-systemd.idle-timeout=60"
|
||||||
|
# "noauto"
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,4 +10,10 @@
|
|||||||
hostName = host;
|
hostName = host;
|
||||||
timeServers = options.networking.timeServers.default ++ ["pool.ntp.org"];
|
timeServers = options.networking.timeServers.default ++ ["pool.ntp.org"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Open ports in the firewall.
|
||||||
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
# Or disable the firewall altogether.
|
||||||
|
# networking.firewall.enable = false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,11 @@
|
|||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
pulseaudio = true;
|
pulseaudio = true;
|
||||||
|
# packageOverrides = pkgs: {
|
||||||
|
# ulauncher = pkgs.ulauncher.override {
|
||||||
|
# autoStart = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
# Extra Portal Configuration
|
# Extra Portal Configuration
|
||||||
@@ -34,12 +39,19 @@
|
|||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
extraPortals = [
|
extraPortals = [
|
||||||
pkgs.xdg-desktop-portal-gtk
|
pkgs.xdg-desktop-portal-gtk
|
||||||
pkgs.xdg-desktop-portal
|
pkgs.xdg-desktop-portal-hyprland
|
||||||
];
|
];
|
||||||
|
config = {
|
||||||
|
common = {
|
||||||
|
default = [
|
||||||
|
"gtk"
|
||||||
|
"hyprland"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
configPackages = [
|
configPackages = [
|
||||||
pkgs.xdg-desktop-portal-gtk
|
pkgs.xdg-desktop-portal-gtk
|
||||||
pkgs.xdg-desktop-portal-hyprland
|
pkgs.xdg-desktop-portal-hyprland
|
||||||
pkgs.xdg-desktop-portal
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -48,332 +60,5 @@
|
|||||||
ZANEYOS_VERSION = "2.2";
|
ZANEYOS_VERSION = "2.2";
|
||||||
ZANEYOS = "true";
|
ZANEYOS = "true";
|
||||||
};
|
};
|
||||||
|
|
||||||
systemPackages = with pkgs; [
|
|
||||||
wget
|
|
||||||
killall
|
|
||||||
eza
|
|
||||||
git
|
|
||||||
cmatrix
|
|
||||||
lolcat
|
|
||||||
libvirt
|
|
||||||
lxqt.lxqt-policykit
|
|
||||||
lm_sensors
|
|
||||||
unzip
|
|
||||||
unrar
|
|
||||||
libnotify
|
|
||||||
v4l-utils
|
|
||||||
ydotool
|
|
||||||
duf
|
|
||||||
ncdu
|
|
||||||
wl-clipboard
|
|
||||||
pciutils
|
|
||||||
ffmpeg
|
|
||||||
socat
|
|
||||||
cowsay
|
|
||||||
ripgrep
|
|
||||||
lshw
|
|
||||||
bat
|
|
||||||
pkg-config
|
|
||||||
meson
|
|
||||||
hyprpicker
|
|
||||||
ninja
|
|
||||||
brightnessctl
|
|
||||||
virt-viewer
|
|
||||||
swappy
|
|
||||||
appimage-run
|
|
||||||
networkmanagerapplet
|
|
||||||
yad
|
|
||||||
inxi
|
|
||||||
playerctl
|
|
||||||
nh
|
|
||||||
nixfmt-rfc-style
|
|
||||||
discord
|
|
||||||
libvirt
|
|
||||||
swww
|
|
||||||
grim
|
|
||||||
slurp
|
|
||||||
file-roller
|
|
||||||
swaynotificationcenter
|
|
||||||
imv
|
|
||||||
mpv
|
|
||||||
gimp
|
|
||||||
pavucontrol
|
|
||||||
tree
|
|
||||||
greetd.tuigreet
|
|
||||||
librewolf
|
|
||||||
protonup
|
|
||||||
plex-media-player
|
|
||||||
plexamp
|
|
||||||
bitwarden-desktop
|
|
||||||
vlc
|
|
||||||
nixd
|
|
||||||
ungoogled-chromium
|
|
||||||
slack
|
|
||||||
alejandra
|
|
||||||
tutanota-desktop
|
|
||||||
ookla-speedtest
|
|
||||||
rustdesk
|
|
||||||
bun
|
|
||||||
docker
|
|
||||||
docker-compose
|
|
||||||
docker-slim
|
|
||||||
sl
|
|
||||||
nodejs
|
|
||||||
kdePackages.kdenlive
|
|
||||||
galculator
|
|
||||||
obs-studio
|
|
||||||
thefuck
|
|
||||||
cifs-utils
|
|
||||||
libreoffice
|
|
||||||
bastet
|
|
||||||
nsnake
|
|
||||||
exiftool
|
|
||||||
python3
|
|
||||||
figlet
|
|
||||||
fortune
|
|
||||||
wtf
|
|
||||||
pipes
|
|
||||||
cava
|
|
||||||
wineWowPackages.waylandFull # wine64
|
|
||||||
lazydocker
|
|
||||||
lazygit
|
|
||||||
lutris
|
|
||||||
(vscode-with-extensions.override {
|
|
||||||
vscode = vscodium;
|
|
||||||
vscodeExtensions = with vscode-extensions;
|
|
||||||
[
|
|
||||||
batisteo.vscode-django
|
|
||||||
bradlc.vscode-tailwindcss
|
|
||||||
christian-kohler.npm-intellisense
|
|
||||||
christian-kohler.path-intellisense
|
|
||||||
continue.continue
|
|
||||||
davidanson.vscode-markdownlint
|
|
||||||
dbaeumer.vscode-eslint
|
|
||||||
donjayamanne.githistory
|
|
||||||
esbenp.prettier-vscode
|
|
||||||
ethansk.restore-terminals
|
|
||||||
formulahendry.auto-close-tag
|
|
||||||
formulahendry.auto-rename-tag
|
|
||||||
grapecity.gc-excelviewer
|
|
||||||
gruntfuggly.todo-tree
|
|
||||||
hediet.vscode-drawio
|
|
||||||
jnoortheen.nix-ide
|
|
||||||
mechatroner.rainbow-csv
|
|
||||||
ms-azuretools.vscode-docker
|
|
||||||
ms-python.debugpy
|
|
||||||
ms-python.flake8
|
|
||||||
ms-python.python
|
|
||||||
ms-python.vscode-pylance
|
|
||||||
njpwerner.autodocstring
|
|
||||||
octref.vetur
|
|
||||||
oderwat.indent-rainbow
|
|
||||||
shd101wyy.markdown-preview-enhanced
|
|
||||||
streetsidesoftware.code-spell-checker
|
|
||||||
supermaven.supermaven
|
|
||||||
tomoki1207.pdf
|
|
||||||
visualstudioexptteam.intellicode-api-usage-examples
|
|
||||||
visualstudioexptteam.vscodeintellicode
|
|
||||||
vscode-icons-team.vscode-icons
|
|
||||||
vue.volar
|
|
||||||
wholroyd.jinja
|
|
||||||
yoavbls.pretty-ts-errors
|
|
||||||
]
|
|
||||||
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
|
||||||
{
|
|
||||||
name = "goto-alias";
|
|
||||||
publisher = "antfu";
|
|
||||||
version = "0.2.1";
|
|
||||||
hash = "sha256-BJBJVG/zW2BW6K0UqQ4EE12VVIxW3g+z5CecZXRPIrM=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "vite";
|
|
||||||
publisher = "antfu";
|
|
||||||
version = "0.2.5";
|
|
||||||
hash = "sha256-F3uaqoaLXLE7M8OPzNIIUSraTBeRMwtjxrbgQyMIyZE=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "django-html";
|
|
||||||
publisher = "bibhasdn";
|
|
||||||
version = "1.3.0";
|
|
||||||
hash = "sha256-7xVJVcjmwl6917lqkTa0KFwMLkAvHkNT2wVML14gVCk=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "django";
|
|
||||||
publisher = "bigonesystems";
|
|
||||||
version = "1.0.2";
|
|
||||||
hash = "sha256-UBmvaCiNQ84qpAObDWyFL18TVFBn0z/6SBDKWeAIzTc=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "align-imports";
|
|
||||||
publisher = "danielcanada";
|
|
||||||
version = "0.1.0";
|
|
||||||
hash = "sha256-Aj87mxOGer24O24/4/bGQqgLpgoBvfwOCKQyJ8NLplU=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "python-environment-manager";
|
|
||||||
publisher = "donjayamanne";
|
|
||||||
version = "1.2.7";
|
|
||||||
hash = "sha256-w3csu6rJm/Z6invC/TR7tx6Aq5DD77VM62nem8/QMlg=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "python-extension-pack";
|
|
||||||
publisher = "donjayamanne";
|
|
||||||
version = "1.7.0";
|
|
||||||
hash = "sha256-ewOw6nMVzNSYddLcCBGKVNvllztFwhEtncE2RFeFcOc=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "one-dark-pro-monokai-darker";
|
|
||||||
publisher = "eserozvataf";
|
|
||||||
version = "1.1.0";
|
|
||||||
hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "imports-sorter";
|
|
||||||
publisher = "glhrmoura";
|
|
||||||
version = "0.1.6";
|
|
||||||
hash = "sha256-M+SWEJAwn8wPJJ+abi2mN0ziK7P6Sjt0iRAKSyTWvkg=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "bootstrap-intellisense";
|
|
||||||
publisher = "hossaini";
|
|
||||||
version = "2.0.2";
|
|
||||||
hash = "sha256-io6mPkF19EYo1tVTnd87EWX1mH9zAz0Zzks6v5XN3UE=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "tab-indent-space-align";
|
|
||||||
publisher = "j-zeppenfeld";
|
|
||||||
version = "0.0.3";
|
|
||||||
hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "bun-lockb";
|
|
||||||
publisher = "jaaxxx";
|
|
||||||
version = "0.0.7";
|
|
||||||
hash = "sha256-CkdH/luVTFycRn4Td6ovFnEQep+tVEIXsyUjhfJwfN4=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "search-node-modules";
|
|
||||||
publisher = "jasonnutter";
|
|
||||||
version = "1.3.0";
|
|
||||||
hash = "sha256-X2CkCVF46McnXDlASlRHKixlAzR+hU4ys8A8JsbpfYI=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "polacode-2019";
|
|
||||||
publisher = "jeff-hykin";
|
|
||||||
version = "0.6.1";
|
|
||||||
hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "vsc-python-indent";
|
|
||||||
publisher = "kevinrose";
|
|
||||||
version = "1.19.0";
|
|
||||||
hash = "sha256-gX0L416RXIQ9S4kFguEJJ7u4GSo7WbpifXmL/mWCU08=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "json-to-ts";
|
|
||||||
publisher = "mariusalchimavicius";
|
|
||||||
version = "1.8.0";
|
|
||||||
hash = "sha256-WoSycVtUAkVXv7BDuh+jFbnaU1IdVLvVjOYuIuUp79M=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "inline-fold";
|
|
||||||
publisher = "moalamri";
|
|
||||||
version = "0.2.6";
|
|
||||||
hash = "sha256-VPEp4gtXH787iK0RxjfciIZO1cjkYacjNELzjzcs/FI=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "vscode-language-pack-pl";
|
|
||||||
publisher = "ms-ceintl";
|
|
||||||
version = "1.97.2025020509";
|
|
||||||
hash = "sha256-D2x745VgarYs6vRo6Eiyx7Zy4FHmFfF01xddbWlLmjM=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "mdc";
|
|
||||||
publisher = "nuxt";
|
|
||||||
version = "0.2.0";
|
|
||||||
hash = "sha256-M/29ZDg1sva9msGgRe6xqpCYDpW6X/BqKxmiJhzeVXQ=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "nuxt-vscode-extentions";
|
|
||||||
publisher = "nuxtr";
|
|
||||||
version = "0.0.7";
|
|
||||||
hash = "sha256-LMShrm9fQHr0M8yXHSziq4NZWfK+n1azc5bjiM972O0=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "nuxtr-vscode";
|
|
||||||
publisher = "nuxtr";
|
|
||||||
version = "0.2.16";
|
|
||||||
hash = "sha256-DVoq8zdlJ2ch8PCG34f1PRkILym9XdclUHQ9s2B5OME=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "bun-vscode";
|
|
||||||
publisher = "oven";
|
|
||||||
version = "0.0.26";
|
|
||||||
hash = "sha256-klMkKAorWJj2o015FWbQQfpmYe4JM0UOM+WVh+YPtI4=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "csv-to-table";
|
|
||||||
publisher = "phplasma";
|
|
||||||
version = "1.4.1";
|
|
||||||
hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "nuxt-snippets";
|
|
||||||
publisher = "praburangki";
|
|
||||||
version = "1.8.0";
|
|
||||||
hash = "sha256-qrWrrDO/Ie/mdygw18C0mrPzNQzZLsd+fapUyTVhc14=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "bash-debug";
|
|
||||||
publisher = "rogalmic";
|
|
||||||
version = "0.3.9";
|
|
||||||
hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "vs-code-prettier-eslint";
|
|
||||||
publisher = "rvest";
|
|
||||||
version = "6.0.0";
|
|
||||||
hash = "sha256-PogNeKhIlcGxUKrW5gHvFhNluUelWDGHCdg5K+xGXJY=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "vscode-preview-docs";
|
|
||||||
publisher = "selemondev";
|
|
||||||
version = "0.1.7";
|
|
||||||
hash = "sha256-Q9bEIb2m6cqHtdVjOaNivfYvbc5/VVdabM2NVTwBOFA=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "svg-preview";
|
|
||||||
publisher = "simonsiefke";
|
|
||||||
version = "2.8.3";
|
|
||||||
hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "autoimport";
|
|
||||||
publisher = "steoates";
|
|
||||||
version = "1.5.4";
|
|
||||||
hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "code-spell-checker-polish";
|
|
||||||
publisher = "streetsidesoftware";
|
|
||||||
version = "2.1.3";
|
|
||||||
hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "vscode-pets";
|
|
||||||
publisher = "tonybaloney";
|
|
||||||
version = "1.30.0";
|
|
||||||
hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM=";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
name = "explorer";
|
|
||||||
publisher = "vitest";
|
|
||||||
version = "1.12.1";
|
|
||||||
hash = "sha256-WG2/MWxU/XhSOjXuBoyszpD/HFb8mfrt525povSEES4=";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
})
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
19
hosts/garand-laptop/config/nixpkgs/clients.nix
Normal file
19
hosts/garand-laptop/config/nixpkgs/clients.nix
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
# Klienty
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
# rustdesk
|
||||||
|
nextcloud-client
|
||||||
|
plexamp
|
||||||
|
bitwarden-desktop
|
||||||
|
tutanota-desktop
|
||||||
|
discord
|
||||||
|
slack
|
||||||
|
ungoogled-chromium
|
||||||
|
docker-client
|
||||||
|
anki-bin
|
||||||
|
onlyoffice-bin
|
||||||
|
freetube
|
||||||
|
kdePackages.kdeconnect-kde
|
||||||
|
calyx-vpn
|
||||||
|
];
|
||||||
|
}
|
||||||
240
hosts/garand-laptop/config/nixpkgs/codium.nix
Normal file
240
hosts/garand-laptop/config/nixpkgs/codium.nix
Normal file
@@ -0,0 +1,240 @@
|
|||||||
|
# # TODO: Usunąć ten plik po przeniesieniu konfiguracji
|
||||||
|
# {pkgs, ...}: {
|
||||||
|
# environment = {
|
||||||
|
# systemPackages = with pkgs; [
|
||||||
|
# (vscode-with-extensions.override {
|
||||||
|
# vscode = vscodium;
|
||||||
|
# vscodeExtensions = with vscode-extensions;
|
||||||
|
# [
|
||||||
|
# batisteo.vscode-django
|
||||||
|
# bradlc.vscode-tailwindcss
|
||||||
|
# christian-kohler.npm-intellisense
|
||||||
|
# christian-kohler.path-intellisense
|
||||||
|
# continue.continue
|
||||||
|
# davidanson.vscode-markdownlint
|
||||||
|
# dbaeumer.vscode-eslint
|
||||||
|
# donjayamanne.githistory
|
||||||
|
# esbenp.prettier-vscode
|
||||||
|
# ethansk.restore-terminals
|
||||||
|
# formulahendry.auto-close-tag
|
||||||
|
# formulahendry.auto-rename-tag
|
||||||
|
# grapecity.gc-excelviewer
|
||||||
|
# gruntfuggly.todo-tree
|
||||||
|
# hediet.vscode-drawio
|
||||||
|
# jnoortheen.nix-ide
|
||||||
|
# mechatroner.rainbow-csv
|
||||||
|
# ms-azuretools.vscode-docker
|
||||||
|
# njpwerner.autodocstring
|
||||||
|
# octref.vetur
|
||||||
|
# oderwat.indent-rainbow
|
||||||
|
# shd101wyy.markdown-preview-enhanced
|
||||||
|
# streetsidesoftware.code-spell-checker
|
||||||
|
# supermaven.supermaven
|
||||||
|
# tomoki1207.pdf
|
||||||
|
# visualstudioexptteam.intellicode-api-usage-examples
|
||||||
|
# visualstudioexptteam.vscodeintellicode
|
||||||
|
# vscode-icons-team.vscode-icons
|
||||||
|
# vue.volar
|
||||||
|
# wholroyd.jinja
|
||||||
|
# yoavbls.pretty-ts-errors
|
||||||
|
# tamasfe.even-better-toml
|
||||||
|
# ms-ceintl.vscode-language-pack-pl
|
||||||
|
# ]
|
||||||
|
# ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
|
# {
|
||||||
|
# name = "goto-alias";
|
||||||
|
# publisher = "antfu";
|
||||||
|
# version = "0.2.1";
|
||||||
|
# hash = "sha256-BJBJVG/zW2BW6K0UqQ4EE12VVIxW3g+z5CecZXRPIrM=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "vite";
|
||||||
|
# publisher = "antfu";
|
||||||
|
# version = "0.2.5";
|
||||||
|
# hash = "sha256-F3uaqoaLXLE7M8OPzNIIUSraTBeRMwtjxrbgQyMIyZE=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "django-html";
|
||||||
|
# publisher = "bibhasdn";
|
||||||
|
# version = "1.3.0";
|
||||||
|
# hash = "sha256-7xVJVcjmwl6917lqkTa0KFwMLkAvHkNT2wVML14gVCk=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "django";
|
||||||
|
# publisher = "bigonesystems";
|
||||||
|
# version = "1.0.2";
|
||||||
|
# hash = "sha256-UBmvaCiNQ84qpAObDWyFL18TVFBn0z/6SBDKWeAIzTc=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "align-imports";
|
||||||
|
# publisher = "danielcanada";
|
||||||
|
# version = "0.1.0";
|
||||||
|
# hash = "sha256-Aj87mxOGer24O24/4/bGQqgLpgoBvfwOCKQyJ8NLplU=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "one-dark-pro-monokai-darker";
|
||||||
|
# publisher = "eserozvataf";
|
||||||
|
# version = "1.1.0";
|
||||||
|
# hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "imports-sorter";
|
||||||
|
# publisher = "glhrmoura";
|
||||||
|
# version = "0.1.6";
|
||||||
|
# hash = "sha256-M+SWEJAwn8wPJJ+abi2mN0ziK7P6Sjt0iRAKSyTWvkg=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "bootstrap-intellisense";
|
||||||
|
# publisher = "hossaini";
|
||||||
|
# version = "3.0.2";
|
||||||
|
# hash = "sha256-stZfbh42HncdRzFZ9ShumZ9Tuery9RF9c8rk3TD3P2g=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "tab-indent-space-align";
|
||||||
|
# publisher = "j-zeppenfeld";
|
||||||
|
# version = "0.0.3";
|
||||||
|
# hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "bun-lockb";
|
||||||
|
# publisher = "jaaxxx";
|
||||||
|
# version = "0.0.7";
|
||||||
|
# hash = "sha256-CkdH/luVTFycRn4Td6ovFnEQep+tVEIXsyUjhfJwfN4=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "search-node-modules";
|
||||||
|
# publisher = "jasonnutter";
|
||||||
|
# version = "1.3.0";
|
||||||
|
# hash = "sha256-X2CkCVF46McnXDlASlRHKixlAzR+hU4ys8A8JsbpfYI=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "polacode-2019";
|
||||||
|
# publisher = "jeff-hykin";
|
||||||
|
# version = "0.6.1";
|
||||||
|
# hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "better-syntax";
|
||||||
|
# publisher = "jeff-hykin";
|
||||||
|
# version = "2.1.0";
|
||||||
|
# hash = "sha256-gvEItVs0IKn7N7vfnm5N/B79xeMxO8xkPwWLNPOs9zY=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "vsc-python-indent";
|
||||||
|
# publisher = "kevinrose";
|
||||||
|
# version = "1.21.0";
|
||||||
|
# hash = "sha256-SvJhVG8sofzV0PebZG4IIORX3AcfmErDQ00tRF9fk/4=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "json-to-ts";
|
||||||
|
# publisher = "mariusalchimavicius";
|
||||||
|
# version = "1.8.0";
|
||||||
|
# hash = "sha256-WoSycVtUAkVXv7BDuh+jFbnaU1IdVLvVjOYuIuUp79M=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "inline-fold";
|
||||||
|
# publisher = "moalamri";
|
||||||
|
# version = "0.2.6";
|
||||||
|
# hash = "sha256-VPEp4gtXH787iK0RxjfciIZO1cjkYacjNELzjzcs/FI=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "mdc";
|
||||||
|
# publisher = "nuxt";
|
||||||
|
# version = "0.3.1";
|
||||||
|
# hash = "sha256-YJ+7gzDjA8kzxBwGLpEmfx0erJdgAntWc2OrK2zp9DM=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "nuxtr-vscode";
|
||||||
|
# publisher = "nuxtr";
|
||||||
|
# version = "0.2.16";
|
||||||
|
# hash = "sha256-DVoq8zdlJ2ch8PCG34f1PRkILym9XdclUHQ9s2B5OME=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "bun-vscode";
|
||||||
|
# publisher = "oven";
|
||||||
|
# version = "0.0.28";
|
||||||
|
# hash = "sha256-WlGqqKbfrV0gqCCdVo/UFF+Gnxhq0TNJ4LuHwFaFYXA=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "csv-to-table";
|
||||||
|
# publisher = "phplasma";
|
||||||
|
# version = "1.4.1";
|
||||||
|
# hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "nuxt-snippets";
|
||||||
|
# publisher = "praburangki";
|
||||||
|
# version = "1.8.0";
|
||||||
|
# hash = "sha256-qrWrrDO/Ie/mdygw18C0mrPzNQzZLsd+fapUyTVhc14=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "bash-debug";
|
||||||
|
# publisher = "rogalmic";
|
||||||
|
# version = "0.3.9";
|
||||||
|
# hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "vs-code-prettier-eslint";
|
||||||
|
# publisher = "rvest";
|
||||||
|
# version = "6.0.0";
|
||||||
|
# hash = "sha256-PogNeKhIlcGxUKrW5gHvFhNluUelWDGHCdg5K+xGXJY=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "vscode-preview-docs";
|
||||||
|
# publisher = "selemondev";
|
||||||
|
# version = "0.1.7";
|
||||||
|
# hash = "sha256-Q9bEIb2m6cqHtdVjOaNivfYvbc5/VVdabM2NVTwBOFA=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "svg-preview";
|
||||||
|
# publisher = "simonsiefke";
|
||||||
|
# version = "2.8.3";
|
||||||
|
# hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "autoimport";
|
||||||
|
# publisher = "steoates";
|
||||||
|
# version = "1.5.4";
|
||||||
|
# hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "code-spell-checker-polish";
|
||||||
|
# publisher = "streetsidesoftware";
|
||||||
|
# version = "2.1.3";
|
||||||
|
# hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "vscode-pets";
|
||||||
|
# publisher = "tonybaloney";
|
||||||
|
# version = "1.30.0";
|
||||||
|
# hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "explorer";
|
||||||
|
# publisher = "vitest";
|
||||||
|
# version = "1.17.0";
|
||||||
|
# hash = "sha256-7OePMFsWIyrPkAW/+SRiOoowluLMEszEjWmBsW0LPpc=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "prettify-json";
|
||||||
|
# publisher = "mohsen1";
|
||||||
|
# version = "0.0.3";
|
||||||
|
# hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "uv-toolkit";
|
||||||
|
# publisher = "the0807";
|
||||||
|
# version = "0.0.2";
|
||||||
|
# hash = "sha256-OXHUwynWm4RqJYjcv5qXt5DyjFDxtNjZFNpnd22gUgg=";
|
||||||
|
# }
|
||||||
|
# {
|
||||||
|
# name = "kylin-python";
|
||||||
|
# publisher = "kylinideteam";
|
||||||
|
# version = "0.4.2";
|
||||||
|
# hash = "sha256-LhOsIvECrxLCnRjUVffS4G4fFsdP70iP/twoNoto354=";
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
# })
|
||||||
|
# ];
|
||||||
|
# };
|
||||||
|
# }
|
||||||
41
hosts/garand-laptop/config/nixpkgs/fundamentals.nix
Normal file
41
hosts/garand-laptop/config/nixpkgs/fundamentals.nix
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
# Fundamentalne programy dla systemu
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
warp-terminal
|
||||||
|
wget
|
||||||
|
killall
|
||||||
|
eza
|
||||||
|
git
|
||||||
|
libnotify
|
||||||
|
v4l-utils
|
||||||
|
ydotool
|
||||||
|
duf
|
||||||
|
ncdu
|
||||||
|
wl-clipboard
|
||||||
|
pciutils
|
||||||
|
ffmpeg
|
||||||
|
socat
|
||||||
|
ripgrep
|
||||||
|
lshw
|
||||||
|
bat
|
||||||
|
pkg-config
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
brightnessctl
|
||||||
|
swappy
|
||||||
|
appimage-run
|
||||||
|
networkmanagerapplet
|
||||||
|
yad
|
||||||
|
inxi
|
||||||
|
playerctl
|
||||||
|
nh
|
||||||
|
nixfmt-rfc-style
|
||||||
|
file-roller
|
||||||
|
tree
|
||||||
|
nixd
|
||||||
|
alejandra
|
||||||
|
docker
|
||||||
|
docker-compose
|
||||||
|
cifs-utils
|
||||||
|
];
|
||||||
|
}
|
||||||
9
hosts/garand-laptop/config/nixpkgs/gaming.nix
Normal file
9
hosts/garand-laptop/config/nixpkgs/gaming.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
# Narzędzia do gier
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
protonup
|
||||||
|
wineWowPackages.waylandFull # wine64
|
||||||
|
lutris
|
||||||
|
space-cadet-pinball
|
||||||
|
];
|
||||||
|
}
|
||||||
17
hosts/garand-laptop/config/nixpkgs/multimedia.nix
Normal file
17
hosts/garand-laptop/config/nixpkgs/multimedia.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Programy multimedialne
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
swww
|
||||||
|
grim
|
||||||
|
slurp
|
||||||
|
swaynotificationcenter
|
||||||
|
imv
|
||||||
|
mpv
|
||||||
|
gimp
|
||||||
|
pavucontrol
|
||||||
|
vlc
|
||||||
|
kdePackages.kdenlive
|
||||||
|
obs-studio
|
||||||
|
# libreoffice
|
||||||
|
];
|
||||||
|
}
|
||||||
17
hosts/garand-laptop/config/nixpkgs/tools.nix
Normal file
17
hosts/garand-laptop/config/nixpkgs/tools.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
# Narzędzia systemowe
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
lm_sensors
|
||||||
|
unzip
|
||||||
|
unrar
|
||||||
|
hyprpicker
|
||||||
|
virt-viewer
|
||||||
|
libvirt
|
||||||
|
greetd.tuigreet
|
||||||
|
galculator
|
||||||
|
lazydocker
|
||||||
|
# lazygit
|
||||||
|
docker-slim
|
||||||
|
dex
|
||||||
|
];
|
||||||
|
}
|
||||||
16
hosts/garand-laptop/config/nixpkgs/tty.nix
Normal file
16
hosts/garand-laptop/config/nixpkgs/tty.nix
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
# Aplikacje terminalowe
|
||||||
|
{pkgs, ...}: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
gambit-chess
|
||||||
|
tty-solitaire
|
||||||
|
# bastet
|
||||||
|
# nsnake
|
||||||
|
cmatrix
|
||||||
|
cowsay
|
||||||
|
sl
|
||||||
|
fortune
|
||||||
|
ookla-speedtest
|
||||||
|
btop
|
||||||
|
toot
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,6 +1,5 @@
|
|||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
programs = {
|
programs = {
|
||||||
firefox.enable = false;
|
|
||||||
starship = {
|
starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
@@ -70,6 +69,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
hyprland = {
|
||||||
|
enable = true;
|
||||||
|
withUWSM = true;
|
||||||
|
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
||||||
|
};
|
||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
seahorse.enable = true;
|
seahorse.enable = true;
|
||||||
fuse.userAllowOther = true;
|
fuse.userAllowOther = true;
|
||||||
|
|||||||
@@ -33,4 +33,8 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
users = {
|
||||||
|
mutableUsers = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,18 +45,31 @@ in {
|
|||||||
enable = false;
|
enable = false;
|
||||||
autodetect = true;
|
autodetect = true;
|
||||||
};
|
};
|
||||||
libinput.enable = true;
|
libinput = {
|
||||||
|
enable = true;
|
||||||
|
mouse = {
|
||||||
|
accelProfile = "flat";
|
||||||
|
};
|
||||||
|
touchpad = {
|
||||||
|
accelProfile = "flat";
|
||||||
|
};
|
||||||
|
};
|
||||||
fstrim.enable = true;
|
fstrim.enable = true;
|
||||||
gvfs.enable = true;
|
gvfs.enable = true;
|
||||||
|
tumbler.enable = true;
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
flatpak.enable = false;
|
flatpak.enable = false;
|
||||||
printing = {
|
printing = {
|
||||||
enable = true;
|
enable = true;
|
||||||
drivers = [
|
# drivers = with pkgs; [
|
||||||
# pkgs.hplipWithPlugin
|
# # hplipWithPlugin
|
||||||
];
|
# ];
|
||||||
|
};
|
||||||
|
gnome = {
|
||||||
|
evolution-data-server.enable = true;
|
||||||
|
gnome-online-accounts.enable = true;
|
||||||
|
gnome-keyring.enable = true;
|
||||||
};
|
};
|
||||||
gnome.gnome-keyring.enable = true;
|
|
||||||
avahi = {
|
avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns4 = true;
|
nssmdns4 = true;
|
||||||
@@ -98,8 +111,18 @@ in {
|
|||||||
# enable = true;
|
# enable = true;
|
||||||
# package = pkgs.open-webui;
|
# package = pkgs.open-webui;
|
||||||
# };
|
# };
|
||||||
|
# penvpn.servers = {
|
||||||
|
# RO-P2P = {
|
||||||
|
# config = ''
|
||||||
|
# config /home/garand_plg/Documents/RO-ovpn-tcp.ovpn
|
||||||
|
# '';
|
||||||
|
# updateResolvConf = true;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
console.keyMap = "${keyboardLayout}";
|
||||||
|
|
||||||
systemd.services.flatpak-repo = {
|
systemd.services.flatpak-repo = {
|
||||||
path = [pkgs.flatpak];
|
path = [pkgs.flatpak];
|
||||||
script = ''
|
script = ''
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.docker;
|
package = pkgs.docker;
|
||||||
};
|
};
|
||||||
|
# waydroid.enable = true;
|
||||||
# podman = {
|
# podman = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# dockerCompat = true;
|
# dockerCompat = true;
|
||||||
|
|||||||
@@ -1,17 +1,4 @@
|
|||||||
{
|
{...}: {
|
||||||
pkgs,
|
|
||||||
lib,
|
|
||||||
username,
|
|
||||||
host,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
inherit (import ./variables.nix) gitUsername gitEmail;
|
|
||||||
in {
|
|
||||||
# Home Manager Settings
|
|
||||||
home.username = "${username}";
|
|
||||||
home.homeDirectory = "/home/${username}";
|
|
||||||
home.stateVersion = "23.11";
|
|
||||||
|
|
||||||
# Import Program Configurations
|
# Import Program Configurations
|
||||||
imports = [
|
imports = [
|
||||||
../../config/emoji.nix
|
../../config/emoji.nix
|
||||||
@@ -24,242 +11,13 @@ in {
|
|||||||
../../config/waybar.nix
|
../../config/waybar.nix
|
||||||
../../config/wlogout.nix
|
../../config/wlogout.nix
|
||||||
../../config/fastfetch
|
../../config/fastfetch
|
||||||
|
|
||||||
|
./home/codium.nix
|
||||||
|
./home/home.nix
|
||||||
|
./home/misc.nix
|
||||||
|
./home/programs.nix
|
||||||
|
./home/programs.librewolf.nix
|
||||||
|
./home/services.nix
|
||||||
|
./home/styles.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Place Files Inside Home Directory
|
|
||||||
home.file = {
|
|
||||||
"Pictures/Wallpapers".source = ../../config/wallpapers;
|
|
||||||
"Pictures/Wallpapers".recursive = true;
|
|
||||||
".config/wlogout/icons".source = ../../config/wlogout;
|
|
||||||
".config/wlogout/icons".recursive = true;
|
|
||||||
".face.icon".source = ../../config/face.jpg;
|
|
||||||
".config/face.jpg".source = ../../config/face.jpg;
|
|
||||||
".config/swappy/config".text = ''
|
|
||||||
[Default]
|
|
||||||
save_dir=/home/${username}/Pictures/Screenshots
|
|
||||||
save_filename_format=swappy-%Y%m%d-%H%M%S.png
|
|
||||||
show_panel=false
|
|
||||||
line_size=5
|
|
||||||
text_size=20
|
|
||||||
text_font=Ubuntu
|
|
||||||
paint_mode=brush
|
|
||||||
early_exit=true
|
|
||||||
fill_shape=false
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
# Install & Configure Git
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "${gitUsername}";
|
|
||||||
userEmail = "${gitEmail}";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Create XDG Dirs
|
|
||||||
xdg = {
|
|
||||||
userDirs = {
|
|
||||||
enable = true;
|
|
||||||
createDirectories = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
dconf.settings = {
|
|
||||||
"org/virt-manager/virt-manager/connections" = {
|
|
||||||
autoconnect = ["qemu:///system"];
|
|
||||||
uris = ["qemu:///system"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Styling Options
|
|
||||||
stylix = {
|
|
||||||
targets = {
|
|
||||||
waybar = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
rofi = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
hyprland = {
|
|
||||||
enable = false;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
gtk = {
|
|
||||||
iconTheme = {
|
|
||||||
name = "Papirus-Dark";
|
|
||||||
package = pkgs.papirus-icon-theme;
|
|
||||||
};
|
|
||||||
gtk3.extraConfig = {
|
|
||||||
gtk-application-prefer-dark-theme = 1;
|
|
||||||
};
|
|
||||||
gtk4.extraConfig = {
|
|
||||||
gtk-application-prefer-dark-theme = 1;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
qt = {
|
|
||||||
enable = true;
|
|
||||||
style.name = lib.mkDefault "adwaita-dark";
|
|
||||||
platformTheme.name = lib.mkDefault "gtk3";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Scripts
|
|
||||||
home.packages = [
|
|
||||||
(import ../../scripts/emopicker9000.nix {inherit pkgs;})
|
|
||||||
(import ../../scripts/task-waybar.nix {inherit pkgs;})
|
|
||||||
(import ../../scripts/squirtle.nix {inherit pkgs;})
|
|
||||||
(import ../../scripts/nvidia-offload.nix {inherit pkgs;})
|
|
||||||
(import ../../scripts/wallsetter.nix {
|
|
||||||
inherit pkgs;
|
|
||||||
inherit username;
|
|
||||||
})
|
|
||||||
(import ../../scripts/web-search.nix {inherit pkgs;})
|
|
||||||
(import ../../scripts/rofi-launcher.nix {inherit pkgs;})
|
|
||||||
(import ../../scripts/screenshootin.nix {inherit pkgs;})
|
|
||||||
(import ../../scripts/list-hypr-bindings.nix {
|
|
||||||
inherit pkgs;
|
|
||||||
inherit host;
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
services = {
|
|
||||||
hypridle = {
|
|
||||||
settings = {
|
|
||||||
general = {
|
|
||||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
|
||||||
ignore_dbus_inhibit = false;
|
|
||||||
lock_cmd = "hyprlock";
|
|
||||||
};
|
|
||||||
listener = [
|
|
||||||
{
|
|
||||||
timeout = 900;
|
|
||||||
on-timeout = "hyprlock";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
timeout = 1200;
|
|
||||||
on-timeout = "hyprctl dispatch dpms off";
|
|
||||||
on-resume = "hyprctl dispatch dpms on";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs = {
|
|
||||||
gh.enable = true;
|
|
||||||
btop = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
kitty = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.kitty;
|
|
||||||
settings = {
|
|
||||||
scrollback_lines = 2000;
|
|
||||||
wheel_scroll_min_lines = 1;
|
|
||||||
window_padding_width = 4;
|
|
||||||
confirm_os_window_close = 0;
|
|
||||||
};
|
|
||||||
extraConfig = ''
|
|
||||||
tab_bar_style fade
|
|
||||||
tab_fade 1
|
|
||||||
active_tab_font_style bold
|
|
||||||
inactive_tab_font_style bold
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
starship = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.starship;
|
|
||||||
};
|
|
||||||
bash = {
|
|
||||||
enable = true;
|
|
||||||
enableCompletion = true;
|
|
||||||
profileExtra = ''
|
|
||||||
#if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
|
|
||||||
# exec Hyprland
|
|
||||||
#fi
|
|
||||||
'';
|
|
||||||
initExtra = ''
|
|
||||||
fastfetch
|
|
||||||
if [ -f $HOME/.bashrc-personal ]; then
|
|
||||||
source $HOME/.bashrc-personal
|
|
||||||
fi
|
|
||||||
fc
|
|
||||||
'';
|
|
||||||
shellAliases = {
|
|
||||||
os-sw = "sudo nixos-rebuild switch --flake ~/zaneyos";
|
|
||||||
os-bt = "sudo nixos-rebuild boot --flake ~/zaneyos";
|
|
||||||
os-ts = "sudo nixos-rebuild test --flake ~/zaneyos";
|
|
||||||
os-up = "sudo nix flake update";
|
|
||||||
os-upg = "sudo nix flake update && sudo nixos-rebuild switch --flake ~/zaneyos";
|
|
||||||
os-up-np = "sudo nix flake update --update-input nixpkgs";
|
|
||||||
os-up-hm = "sudo nix flake update --update-input home-manager";
|
|
||||||
os-up-sx = "sudo nix flake update --update-input stylix";
|
|
||||||
os-up-af = "sudo nix flake update --update-input auto-cpufreq";
|
|
||||||
fr = "nh os switch --hostname ${host} /home/${username}/zaneyos";
|
|
||||||
fu = "nh os switch --hostname ${host} --update /home/${username}/zaneyos";
|
|
||||||
hypr-cli = "hyprctl clients";
|
|
||||||
zu = "sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)";
|
|
||||||
ncg = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
|
||||||
n = "nano";
|
|
||||||
f = "fuck";
|
|
||||||
cat = "bat";
|
|
||||||
st = "speedtest";
|
|
||||||
ls = "eza --icons";
|
|
||||||
ll = "eza -lh --icons --grid --group-directories-first";
|
|
||||||
la = "eza -lah --icons --grid --group-directories-first";
|
|
||||||
ssh-server = "ssh garand_plg@192.168.1.156 -p 556 -i ~/.ssh/hp-t640-homeserver";
|
|
||||||
fc = "fortune | cowsay";
|
|
||||||
terminal = "cat /home/garand_plg/Documents/terminal.txt";
|
|
||||||
e-terminal = "nano /home/garand_plg/Documents/terminal.txt";
|
|
||||||
mkgidf = "git diff > git-diff.txt";
|
|
||||||
".." = "cd ..";
|
|
||||||
kys = "shutdown now";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
home-manager.enable = true;
|
|
||||||
hyprlock = {
|
|
||||||
enable = true;
|
|
||||||
settings = {
|
|
||||||
general = {
|
|
||||||
disable_loading_bar = true;
|
|
||||||
grace = 10;
|
|
||||||
hide_cursor = true;
|
|
||||||
no_fade_in = false;
|
|
||||||
};
|
|
||||||
background = lib.mkDefault [
|
|
||||||
{
|
|
||||||
path = "/home/${username}/Pictures/Wallpapers/attack-on-titan-mikasa-ackerman.jpg";
|
|
||||||
blur_passes = 3;
|
|
||||||
blur_size = 8;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
image = [
|
|
||||||
{
|
|
||||||
path = "/home/${username}/.config/face.jpg";
|
|
||||||
size = 150;
|
|
||||||
border_size = 4;
|
|
||||||
border_color = "rgb(0C96F9)";
|
|
||||||
rounding = -1; # Negative means circle
|
|
||||||
position = "0, 200";
|
|
||||||
halign = "center";
|
|
||||||
valign = "center";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
input-field = lib.mkDefault [
|
|
||||||
{
|
|
||||||
size = "200, 50";
|
|
||||||
position = "0, -80";
|
|
||||||
monitor = "";
|
|
||||||
dots_center = true;
|
|
||||||
fade_on_empty = false;
|
|
||||||
font_color = "rgb(CFE6F4)";
|
|
||||||
inner_color = "rgb(657DC2)";
|
|
||||||
outer_color = "rgb(0D0E15)";
|
|
||||||
outline_thickness = 5;
|
|
||||||
placeholder_text = "Password...";
|
|
||||||
shadow_passes = 2;
|
|
||||||
}
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
23
hosts/garand-laptop/home/codium.nix
Normal file
23
hosts/garand-laptop/home/codium.nix
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
default = import ./codium/default.nix {inherit pkgs;};
|
||||||
|
webdev-vue = import ./codium/webdev-vue.nix {inherit pkgs;};
|
||||||
|
python-django = import ./codium/python-django.nix {inherit pkgs;};
|
||||||
|
rust-tauri = import ./codium/rust-tauri.nix {inherit pkgs;};
|
||||||
|
rust-bevy = import ./codium/rust-bevy.nix {inherit pkgs;};
|
||||||
|
in {
|
||||||
|
programs.vscode = lib.mkDefault {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.vscodium;
|
||||||
|
profiles = {
|
||||||
|
inherit (default.programs.vscode.profiles) default;
|
||||||
|
inherit (webdev-vue.programs.vscode.profiles) webdev-vue;
|
||||||
|
inherit (python-django.programs.vscode.profiles) python-django;
|
||||||
|
inherit (rust-tauri.programs.vscode.profiles) rust-tauri;
|
||||||
|
inherit (rust-bevy.programs.vscode.profiles) rust-bevy;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
261
hosts/garand-laptop/home/codium/default.nix
Normal file
261
hosts/garand-laptop/home/codium/default.nix
Normal file
@@ -0,0 +1,261 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
programs.vscode.profiles.default = {
|
||||||
|
extensions = with pkgs.vscode-extensions;
|
||||||
|
[
|
||||||
|
christian-kohler.path-intellisense
|
||||||
|
continue.continue
|
||||||
|
davidanson.vscode-markdownlint
|
||||||
|
donjayamanne.githistory
|
||||||
|
ethansk.restore-terminals
|
||||||
|
formulahendry.auto-close-tag
|
||||||
|
formulahendry.auto-rename-tag
|
||||||
|
gruntfuggly.todo-tree
|
||||||
|
jnoortheen.nix-ide
|
||||||
|
mechatroner.rainbow-csv
|
||||||
|
ms-azuretools.vscode-docker
|
||||||
|
oderwat.indent-rainbow
|
||||||
|
shd101wyy.markdown-preview-enhanced
|
||||||
|
streetsidesoftware.code-spell-checker
|
||||||
|
supermaven.supermaven
|
||||||
|
tomoki1207.pdf
|
||||||
|
visualstudioexptteam.intellicode-api-usage-examples
|
||||||
|
visualstudioexptteam.vscodeintellicode
|
||||||
|
vscode-icons-team.vscode-icons
|
||||||
|
tamasfe.even-better-toml
|
||||||
|
ms-ceintl.vscode-language-pack-pl
|
||||||
|
]
|
||||||
|
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
|
{
|
||||||
|
name = "one-dark-pro-monokai-darker";
|
||||||
|
publisher = "eserozvataf";
|
||||||
|
version = "1.1.0";
|
||||||
|
hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "tab-indent-space-align";
|
||||||
|
publisher = "j-zeppenfeld";
|
||||||
|
version = "0.0.3";
|
||||||
|
hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "polacode-2019";
|
||||||
|
publisher = "jeff-hykin";
|
||||||
|
version = "0.6.1";
|
||||||
|
hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "csv-to-table";
|
||||||
|
publisher = "phplasma";
|
||||||
|
version = "1.4.1";
|
||||||
|
hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "bash-debug";
|
||||||
|
publisher = "rogalmic";
|
||||||
|
version = "0.3.9";
|
||||||
|
hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "svg-preview";
|
||||||
|
publisher = "simonsiefke";
|
||||||
|
version = "2.8.3";
|
||||||
|
hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "autoimport";
|
||||||
|
publisher = "steoates";
|
||||||
|
version = "1.5.4";
|
||||||
|
hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "code-spell-checker-polish";
|
||||||
|
publisher = "streetsidesoftware";
|
||||||
|
version = "2.1.3";
|
||||||
|
hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "vscode-pets";
|
||||||
|
publisher = "tonybaloney";
|
||||||
|
version = "1.30.0";
|
||||||
|
hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "prettify-json";
|
||||||
|
publisher = "mohsen1";
|
||||||
|
version = "0.0.3";
|
||||||
|
hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo=";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
userSettings = {
|
||||||
|
# Editor appearance and behavior
|
||||||
|
"editor.cursorBlinking" = "expand";
|
||||||
|
"editor.foldingImportsByDefault" = true;
|
||||||
|
"editor.fontFamily" = "FiraCode Nerd Font";
|
||||||
|
"editor.formatOnPaste" = true;
|
||||||
|
"editor.formatOnSave" = true;
|
||||||
|
"editor.guides.bracketPairs" = false;
|
||||||
|
"editor.guides.indentation" = false;
|
||||||
|
"editor.inlayHints.enabled" = "off";
|
||||||
|
"editor.inlineSuggest.showToolbar" = "always";
|
||||||
|
"editor.largeFileOptimizations" = false;
|
||||||
|
"editor.minimap.enabled" = false;
|
||||||
|
"editor.quickSuggestions" = {
|
||||||
|
"strings" = "on";
|
||||||
|
};
|
||||||
|
"editor.suggestFontSize" = 16;
|
||||||
|
"editor.suggestLineHeight" = 30;
|
||||||
|
"editor.tabSize" = 2;
|
||||||
|
"editor.unicodeHighlight.ambiguousCharacters" = false;
|
||||||
|
"editor.unicodeHighlight.invisibleCharacters" = false;
|
||||||
|
"editor.wordWrap" = "off";
|
||||||
|
"editor.hover.enabled" = true;
|
||||||
|
"editor.gotoLocation.multipleDefinitions" = "goto";
|
||||||
|
# Workbench settings
|
||||||
|
"workbench.colorCustomizations" = {
|
||||||
|
"editor.lineHighlightBackground" = "#1073cf2d";
|
||||||
|
"editor.lineHighlightBorder" = "#9fced11f";
|
||||||
|
};
|
||||||
|
"workbench.colorTheme" = "One Dark Pro Monokai Darker";
|
||||||
|
"workbench.iconTheme" = "vscode-icons";
|
||||||
|
"workbench.startupEditor" = "none";
|
||||||
|
# Terminal settings
|
||||||
|
"terminal.integrated.fontFamily" = "FiraCode Nerd Fonts Mono";
|
||||||
|
# Git settings
|
||||||
|
"git.confirmSync" = false;
|
||||||
|
"git.enableSmartCommit" = true;
|
||||||
|
# Explorer settings
|
||||||
|
"explorer.confirmDelete" = false;
|
||||||
|
"explorer.confirmDragAndDrop" = false;
|
||||||
|
# Diff editor settings
|
||||||
|
"diffEditor.ignoreTrimWhitespace" = false;
|
||||||
|
"diffEditor.wordWrap" = "off";
|
||||||
|
# Zen mode settings
|
||||||
|
"zenMode.centerLayout" = false;
|
||||||
|
"zenMode.hideActivityBar" = false;
|
||||||
|
"zenMode.hideLineNumbers" = false;
|
||||||
|
# File associations
|
||||||
|
"files.associations" = {
|
||||||
|
"*.html" = "html";
|
||||||
|
"*.txt" = "plaintext";
|
||||||
|
};
|
||||||
|
# Navigation and intellisense
|
||||||
|
"path-intellisense.extensionOnImport" = true;
|
||||||
|
# Markdown settings
|
||||||
|
"markdown-preview-enhanced.previewTheme" = "one-dark.css";
|
||||||
|
# Extension specific settings
|
||||||
|
"supermaven.allowGitignore" = true;
|
||||||
|
"supermaven.enable" = {
|
||||||
|
"*" = true;
|
||||||
|
};
|
||||||
|
"continue.enableTabAutocomplete" = false;
|
||||||
|
"continue.showInlineTip" = false;
|
||||||
|
"continue.telemetryEnabled" = false;
|
||||||
|
"hediet.vscode-drawio.resizeImages" = null;
|
||||||
|
"todo-tree.highlights.useColourScheme" = true;
|
||||||
|
"vite.autoStart" = false;
|
||||||
|
# Syntax highlighting and appearance
|
||||||
|
"indentRainbow.colorOnWhiteSpaceOnly" = true;
|
||||||
|
"indentRainbow.indicatorStyle" = "light";
|
||||||
|
"indentRainbow.lightIndicatorStyleLineWidth" = 4;
|
||||||
|
# Spelling and language
|
||||||
|
"cSpell.language" = "en,pl";
|
||||||
|
"cSpell.userWords" = [
|
||||||
|
"garand"
|
||||||
|
"Garand's"
|
||||||
|
"garandplg"
|
||||||
|
"garands"
|
||||||
|
"lockb"
|
||||||
|
"Shadcn"
|
||||||
|
"Vite"
|
||||||
|
];
|
||||||
|
# Security and trust
|
||||||
|
"security.workspace.trust.untrustedFiles" = "open";
|
||||||
|
# Remote development
|
||||||
|
"remote.autoForwardPortsSource" = "hybrid";
|
||||||
|
# Misc
|
||||||
|
"vsintellicode.modify.editor.suggestSelection" = "automaticallyOverrodeDefaultValue";
|
||||||
|
"githubLocalActions.workflowsDirectory" = ".gitea/workflows";
|
||||||
|
};
|
||||||
|
languageSnippets = {
|
||||||
|
"jsonc,json,jsonl" = {
|
||||||
|
"Restore Terminals" = {
|
||||||
|
body = [
|
||||||
|
" \"restoreTerminals.terminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"splitTerminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"name\": \"server\","
|
||||||
|
" \"commands\": [\"npm i\", \"npm run dev\"]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"client\","
|
||||||
|
" \"commands\": [\"npm run dev:client\"]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"test\","
|
||||||
|
" \"commands\": [\"jest --watch\"]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"splitTerminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"name\": \"build & e2e\","
|
||||||
|
" \"commands\": [\"npm run eslint\", \"npm run build\", \"npm run e2e\"],"
|
||||||
|
" \"shouldRunCommands\": false"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"worker\","
|
||||||
|
" \"commands\": [\"npm-run-all --parallel redis tsc-watch-start worker\"]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
];
|
||||||
|
description = "Boilerplate for restore terminals";
|
||||||
|
prefix = [
|
||||||
|
"term"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"nix" = {
|
||||||
|
"Nix-Shell-Default" = {
|
||||||
|
body = [
|
||||||
|
"{"
|
||||||
|
" pkgs ? import <nixpkgs> {},"
|
||||||
|
"}:"
|
||||||
|
"pkgs.mkShell {"
|
||||||
|
" packages = with pkgs; [];"
|
||||||
|
"}"
|
||||||
|
];
|
||||||
|
description = "Podstawa do shelli nix";
|
||||||
|
prefix = [
|
||||||
|
"nix-shell"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
keybindings = [
|
||||||
|
{
|
||||||
|
"key" = "tab";
|
||||||
|
"command" = "-editor.emmet.action.expandAbbreviation";
|
||||||
|
"when" = "config.emmet.triggerExpansionOnTab && editorTextFocus && !editorReadonly && !editorTabMovesFocus";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"key" = "tab";
|
||||||
|
"command" = "-editor.action.inlineSuggest.jump";
|
||||||
|
"when" = "inlineEditIsVisible && tabShouldJumpToInlineEdit && !editorHoverFocused && !editorTabMovesFocus && !suggestWidgetVisible";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"key" = "tab";
|
||||||
|
"command" = "-Alignment Preserving Indent";
|
||||||
|
"when" = "editorTextFocus && !editorReadOnly && !editorTabMovesFocus && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion != 'on'";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
"key" = "tab";
|
||||||
|
"command" = "-Alignment Preserving Indent";
|
||||||
|
"when" = "editorTextFocus && !editorReadOnly && !editorTabMovesFocus && !hasOtherSuggestions && !inSnippetMode && !suggestWidgetVisible && config.editor.tabCompletion == 'on'";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
23
hosts/garand-laptop/home/codium/lib.nix
Normal file
23
hosts/garand-laptop/home/codium/lib.nix
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
{...}: {
|
||||||
|
# This function merges a default profile with specific overrides
|
||||||
|
# It takes the default profile settings, extensions, keybindings, etc., and merges them with profile-specific ones
|
||||||
|
mergeProfile = defaultProfile: specificProfile: {
|
||||||
|
extensions = (defaultProfile.extensions or []) ++ (specificProfile.extensions or []);
|
||||||
|
|
||||||
|
userSettings = (defaultProfile.userSettings or {}) // (specificProfile.userSettings or {});
|
||||||
|
|
||||||
|
# Merge keybindings by concatenating arrays
|
||||||
|
keybindings = (defaultProfile.keybindings or []) ++ (specificProfile.keybindings or []);
|
||||||
|
|
||||||
|
languageSnippets =
|
||||||
|
(defaultProfile.languageSnippets or {})
|
||||||
|
// (let
|
||||||
|
snippets = specificProfile.languageSnippets or {};
|
||||||
|
mergeSnippets = language: defaultSnippets:
|
||||||
|
if builtins.hasAttr language snippets
|
||||||
|
then defaultSnippets // snippets.${language}
|
||||||
|
else defaultSnippets;
|
||||||
|
in
|
||||||
|
builtins.mapAttrs mergeSnippets (defaultProfile.languageSnippets or {}));
|
||||||
|
};
|
||||||
|
}
|
||||||
62
hosts/garand-laptop/home/codium/python-django.nix
Normal file
62
hosts/garand-laptop/home/codium/python-django.nix
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
{pkgs}: let
|
||||||
|
defaultProfile = import ./default.nix {inherit pkgs;};
|
||||||
|
lib = import ./lib.nix {inherit pkgs;};
|
||||||
|
in {
|
||||||
|
programs.vscode.profiles.python-django =
|
||||||
|
lib.mergeProfile
|
||||||
|
defaultProfile.programs.vscode.profiles.default
|
||||||
|
{
|
||||||
|
# Only add Python-specific extensions here
|
||||||
|
extensions = with pkgs.vscode-extensions;
|
||||||
|
[
|
||||||
|
# Add Python/Django-specific extensions only
|
||||||
|
# ms-python.python
|
||||||
|
# ms-python.vscode-pylance
|
||||||
|
]
|
||||||
|
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
|
# Additional Python-specific extensions from marketplace
|
||||||
|
{
|
||||||
|
name = "kylin-python";
|
||||||
|
publisher = "kylinideteam";
|
||||||
|
version = "0.4.2";
|
||||||
|
hash = "sha256-LhOsIvECrxLCnRjUVffS4G4fFsdP70iP/twoNoto354=";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
|
# Only override or add Python-specific settings
|
||||||
|
userSettings = {
|
||||||
|
# "python.linting.enabled" = true;
|
||||||
|
# "python.formatting.provider" = "black";
|
||||||
|
# Other Python-specific settings
|
||||||
|
};
|
||||||
|
|
||||||
|
# Add Python-specific keybindings (optional)
|
||||||
|
keybindings = [
|
||||||
|
# For example:
|
||||||
|
# {
|
||||||
|
# "key" = "ctrl+shift+p";
|
||||||
|
# "command" = "python.execInTerminal";
|
||||||
|
# "when" = "editorLangId == 'python'";
|
||||||
|
# }
|
||||||
|
];
|
||||||
|
|
||||||
|
# Only add Python-specific snippets
|
||||||
|
languageSnippets = {
|
||||||
|
"python" = {
|
||||||
|
"Main" = {
|
||||||
|
body = [
|
||||||
|
"def main() -> None:"
|
||||||
|
" ..."
|
||||||
|
"if __name__ == '__main__':"
|
||||||
|
" main()"
|
||||||
|
];
|
||||||
|
description = "boilerplate dla main";
|
||||||
|
prefix = [
|
||||||
|
"main"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
# Other Python snippets
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
239
hosts/garand-laptop/home/codium/rust-bevy.nix
Normal file
239
hosts/garand-laptop/home/codium/rust-bevy.nix
Normal file
@@ -0,0 +1,239 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
programs.vscode.profiles.rust-bevy = {
|
||||||
|
extensions = with pkgs.vscode-extensions;
|
||||||
|
[
|
||||||
|
christian-kohler.path-intellisense
|
||||||
|
continue.continue
|
||||||
|
davidanson.vscode-markdownlint
|
||||||
|
donjayamanne.githistory
|
||||||
|
ethansk.restore-terminals
|
||||||
|
formulahendry.auto-close-tag
|
||||||
|
formulahendry.auto-rename-tag
|
||||||
|
gruntfuggly.todo-tree
|
||||||
|
jnoortheen.nix-ide
|
||||||
|
mechatroner.rainbow-csv
|
||||||
|
ms-azuretools.vscode-docker
|
||||||
|
oderwat.indent-rainbow
|
||||||
|
shd101wyy.markdown-preview-enhanced
|
||||||
|
streetsidesoftware.code-spell-checker
|
||||||
|
supermaven.supermaven
|
||||||
|
tomoki1207.pdf
|
||||||
|
visualstudioexptteam.intellicode-api-usage-examples
|
||||||
|
visualstudioexptteam.vscodeintellicode
|
||||||
|
vscode-icons-team.vscode-icons
|
||||||
|
tamasfe.even-better-toml
|
||||||
|
ms-ceintl.vscode-language-pack-pl
|
||||||
|
]
|
||||||
|
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
|
{
|
||||||
|
name = "one-dark-pro-monokai-darker";
|
||||||
|
publisher = "eserozvataf";
|
||||||
|
version = "1.1.0";
|
||||||
|
hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "tab-indent-space-align";
|
||||||
|
publisher = "j-zeppenfeld";
|
||||||
|
version = "0.0.3";
|
||||||
|
hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "polacode-2019";
|
||||||
|
publisher = "jeff-hykin";
|
||||||
|
version = "0.6.1";
|
||||||
|
hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "csv-to-table";
|
||||||
|
publisher = "phplasma";
|
||||||
|
version = "1.4.1";
|
||||||
|
hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "bash-debug";
|
||||||
|
publisher = "rogalmic";
|
||||||
|
version = "0.3.9";
|
||||||
|
hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "svg-preview";
|
||||||
|
publisher = "simonsiefke";
|
||||||
|
version = "2.8.3";
|
||||||
|
hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "autoimport";
|
||||||
|
publisher = "steoates";
|
||||||
|
version = "1.5.4";
|
||||||
|
hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "code-spell-checker-polish";
|
||||||
|
publisher = "streetsidesoftware";
|
||||||
|
version = "2.1.3";
|
||||||
|
hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "vscode-pets";
|
||||||
|
publisher = "tonybaloney";
|
||||||
|
version = "1.30.0";
|
||||||
|
hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "prettify-json";
|
||||||
|
publisher = "mohsen1";
|
||||||
|
version = "0.0.3";
|
||||||
|
hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo=";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
userSettings = {
|
||||||
|
# Editor appearance and behavior
|
||||||
|
"editor.cursorBlinking" = "expand";
|
||||||
|
"editor.foldingImportsByDefault" = true;
|
||||||
|
"editor.fontFamily" = "FiraCode Nerd Font";
|
||||||
|
"editor.formatOnPaste" = true;
|
||||||
|
"editor.formatOnSave" = true;
|
||||||
|
"editor.guides.bracketPairs" = false;
|
||||||
|
"editor.guides.indentation" = false;
|
||||||
|
"editor.inlayHints.enabled" = "off";
|
||||||
|
"editor.inlineSuggest.showToolbar" = "always";
|
||||||
|
"editor.largeFileOptimizations" = false;
|
||||||
|
"editor.minimap.enabled" = false;
|
||||||
|
"editor.quickSuggestions" = {
|
||||||
|
"strings" = "on";
|
||||||
|
};
|
||||||
|
"editor.suggestFontSize" = 16;
|
||||||
|
"editor.suggestLineHeight" = 30;
|
||||||
|
"editor.tabSize" = 2;
|
||||||
|
"editor.unicodeHighlight.ambiguousCharacters" = false;
|
||||||
|
"editor.unicodeHighlight.invisibleCharacters" = false;
|
||||||
|
"editor.wordWrap" = "off";
|
||||||
|
"editor.hover.enabled" = true;
|
||||||
|
"editor.gotoLocation.multipleDefinitions" = "goto";
|
||||||
|
# Workbench settings
|
||||||
|
"workbench.colorCustomizations" = {
|
||||||
|
"editor.lineHighlightBackground" = "#1073cf2d";
|
||||||
|
"editor.lineHighlightBorder" = "#9fced11f";
|
||||||
|
};
|
||||||
|
"workbench.colorTheme" = "One Dark Pro Monokai Darker";
|
||||||
|
"workbench.iconTheme" = "vscode-icons";
|
||||||
|
"workbench.startupEditor" = "none";
|
||||||
|
# Terminal settings
|
||||||
|
"terminal.integrated.fontFamily" = "FiraCode Nerd Fonts Mono";
|
||||||
|
# Git settings
|
||||||
|
"git.confirmSync" = false;
|
||||||
|
"git.enableSmartCommit" = true;
|
||||||
|
# Explorer settings
|
||||||
|
"explorer.confirmDelete" = false;
|
||||||
|
"explorer.confirmDragAndDrop" = false;
|
||||||
|
# Diff editor settings
|
||||||
|
"diffEditor.ignoreTrimWhitespace" = false;
|
||||||
|
"diffEditor.wordWrap" = "off";
|
||||||
|
# Zen mode settings
|
||||||
|
"zenMode.centerLayout" = false;
|
||||||
|
"zenMode.hideActivityBar" = false;
|
||||||
|
"zenMode.hideLineNumbers" = false;
|
||||||
|
# File associations
|
||||||
|
"files.associations" = {
|
||||||
|
"*.html" = "html";
|
||||||
|
"*.txt" = "plaintext";
|
||||||
|
};
|
||||||
|
# Navigation and intellisense
|
||||||
|
"path-intellisense.extensionOnImport" = true;
|
||||||
|
# Markdown settings
|
||||||
|
"markdown-preview-enhanced.previewTheme" = "one-dark.css";
|
||||||
|
# Extension specific settings
|
||||||
|
"supermaven.allowGitignore" = true;
|
||||||
|
"supermaven.enable" = {
|
||||||
|
"*" = true;
|
||||||
|
};
|
||||||
|
"continue.enableTabAutocomplete" = false;
|
||||||
|
"continue.showInlineTip" = false;
|
||||||
|
"continue.telemetryEnabled" = false;
|
||||||
|
"hediet.vscode-drawio.resizeImages" = null;
|
||||||
|
"todo-tree.highlights.useColourScheme" = true;
|
||||||
|
"vite.autoStart" = false;
|
||||||
|
# Syntax highlighting and appearance
|
||||||
|
"indentRainbow.colorOnWhiteSpaceOnly" = true;
|
||||||
|
"indentRainbow.indicatorStyle" = "light";
|
||||||
|
"indentRainbow.lightIndicatorStyleLineWidth" = 4;
|
||||||
|
# Spelling and language
|
||||||
|
"cSpell.language" = "en,pl";
|
||||||
|
"cSpell.userWords" = [
|
||||||
|
"garand"
|
||||||
|
"Garand's"
|
||||||
|
"garandplg"
|
||||||
|
"garands"
|
||||||
|
"lockb"
|
||||||
|
"Shadcn"
|
||||||
|
"Vite"
|
||||||
|
];
|
||||||
|
# Security and trust
|
||||||
|
"security.workspace.trust.untrustedFiles" = "open";
|
||||||
|
# Remote development
|
||||||
|
"remote.autoForwardPortsSource" = "hybrid";
|
||||||
|
# Misc
|
||||||
|
"vsintellicode.modify.editor.suggestSelection" = "automaticallyOverrodeDefaultValue";
|
||||||
|
"githubLocalActions.workflowsDirectory" = ".gitea/workflows";
|
||||||
|
};
|
||||||
|
languageSnippets = {
|
||||||
|
"jsonc,json,jsonl" = {
|
||||||
|
"Restore Terminals" = {
|
||||||
|
body = [
|
||||||
|
" \"restoreTerminals.terminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"splitTerminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"name\": \"server\","
|
||||||
|
" \"commands\": [\"npm i\", \"npm run dev\"]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"client\","
|
||||||
|
" \"commands\": [\"npm run dev:client\"]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"test\","
|
||||||
|
" \"commands\": [\"jest --watch\"]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"splitTerminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"name\": \"build & e2e\","
|
||||||
|
" \"commands\": [\"npm run eslint\", \"npm run build\", \"npm run e2e\"],"
|
||||||
|
" \"shouldRunCommands\": false"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"worker\","
|
||||||
|
" \"commands\": [\"npm-run-all --parallel redis tsc-watch-start worker\"]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
];
|
||||||
|
description = "Boilerplate for restore terminals";
|
||||||
|
prefix = [
|
||||||
|
"term"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"nix" = {
|
||||||
|
"Nix-Shell-Default" = {
|
||||||
|
body = [
|
||||||
|
"{"
|
||||||
|
" pkgs ? import <nixpkgs> {},"
|
||||||
|
"}:"
|
||||||
|
"pkgs.mkShell {"
|
||||||
|
" packages = with pkgs; [];"
|
||||||
|
"}"
|
||||||
|
];
|
||||||
|
description = "Podstawa do shelli nix";
|
||||||
|
prefix = [
|
||||||
|
"nix-shell"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
239
hosts/garand-laptop/home/codium/rust-tauri.nix
Normal file
239
hosts/garand-laptop/home/codium/rust-tauri.nix
Normal file
@@ -0,0 +1,239 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
programs.vscode.profiles.rust-tauri = {
|
||||||
|
extensions = with pkgs.vscode-extensions;
|
||||||
|
[
|
||||||
|
christian-kohler.path-intellisense
|
||||||
|
continue.continue
|
||||||
|
davidanson.vscode-markdownlint
|
||||||
|
donjayamanne.githistory
|
||||||
|
ethansk.restore-terminals
|
||||||
|
formulahendry.auto-close-tag
|
||||||
|
formulahendry.auto-rename-tag
|
||||||
|
gruntfuggly.todo-tree
|
||||||
|
jnoortheen.nix-ide
|
||||||
|
mechatroner.rainbow-csv
|
||||||
|
ms-azuretools.vscode-docker
|
||||||
|
oderwat.indent-rainbow
|
||||||
|
shd101wyy.markdown-preview-enhanced
|
||||||
|
streetsidesoftware.code-spell-checker
|
||||||
|
supermaven.supermaven
|
||||||
|
tomoki1207.pdf
|
||||||
|
visualstudioexptteam.intellicode-api-usage-examples
|
||||||
|
visualstudioexptteam.vscodeintellicode
|
||||||
|
vscode-icons-team.vscode-icons
|
||||||
|
tamasfe.even-better-toml
|
||||||
|
ms-ceintl.vscode-language-pack-pl
|
||||||
|
]
|
||||||
|
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
|
{
|
||||||
|
name = "one-dark-pro-monokai-darker";
|
||||||
|
publisher = "eserozvataf";
|
||||||
|
version = "1.1.0";
|
||||||
|
hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "tab-indent-space-align";
|
||||||
|
publisher = "j-zeppenfeld";
|
||||||
|
version = "0.0.3";
|
||||||
|
hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "polacode-2019";
|
||||||
|
publisher = "jeff-hykin";
|
||||||
|
version = "0.6.1";
|
||||||
|
hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "csv-to-table";
|
||||||
|
publisher = "phplasma";
|
||||||
|
version = "1.4.1";
|
||||||
|
hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "bash-debug";
|
||||||
|
publisher = "rogalmic";
|
||||||
|
version = "0.3.9";
|
||||||
|
hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "svg-preview";
|
||||||
|
publisher = "simonsiefke";
|
||||||
|
version = "2.8.3";
|
||||||
|
hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "autoimport";
|
||||||
|
publisher = "steoates";
|
||||||
|
version = "1.5.4";
|
||||||
|
hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "code-spell-checker-polish";
|
||||||
|
publisher = "streetsidesoftware";
|
||||||
|
version = "2.1.3";
|
||||||
|
hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "vscode-pets";
|
||||||
|
publisher = "tonybaloney";
|
||||||
|
version = "1.30.0";
|
||||||
|
hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "prettify-json";
|
||||||
|
publisher = "mohsen1";
|
||||||
|
version = "0.0.3";
|
||||||
|
hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo=";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
userSettings = {
|
||||||
|
# Editor appearance and behavior
|
||||||
|
"editor.cursorBlinking" = "expand";
|
||||||
|
"editor.foldingImportsByDefault" = true;
|
||||||
|
"editor.fontFamily" = "FiraCode Nerd Font";
|
||||||
|
"editor.formatOnPaste" = true;
|
||||||
|
"editor.formatOnSave" = true;
|
||||||
|
"editor.guides.bracketPairs" = false;
|
||||||
|
"editor.guides.indentation" = false;
|
||||||
|
"editor.inlayHints.enabled" = "off";
|
||||||
|
"editor.inlineSuggest.showToolbar" = "always";
|
||||||
|
"editor.largeFileOptimizations" = false;
|
||||||
|
"editor.minimap.enabled" = false;
|
||||||
|
"editor.quickSuggestions" = {
|
||||||
|
"strings" = "on";
|
||||||
|
};
|
||||||
|
"editor.suggestFontSize" = 16;
|
||||||
|
"editor.suggestLineHeight" = 30;
|
||||||
|
"editor.tabSize" = 2;
|
||||||
|
"editor.unicodeHighlight.ambiguousCharacters" = false;
|
||||||
|
"editor.unicodeHighlight.invisibleCharacters" = false;
|
||||||
|
"editor.wordWrap" = "off";
|
||||||
|
"editor.hover.enabled" = true;
|
||||||
|
"editor.gotoLocation.multipleDefinitions" = "goto";
|
||||||
|
# Workbench settings
|
||||||
|
"workbench.colorCustomizations" = {
|
||||||
|
"editor.lineHighlightBackground" = "#1073cf2d";
|
||||||
|
"editor.lineHighlightBorder" = "#9fced11f";
|
||||||
|
};
|
||||||
|
"workbench.colorTheme" = "One Dark Pro Monokai Darker";
|
||||||
|
"workbench.iconTheme" = "vscode-icons";
|
||||||
|
"workbench.startupEditor" = "none";
|
||||||
|
# Terminal settings
|
||||||
|
"terminal.integrated.fontFamily" = "FiraCode Nerd Fonts Mono";
|
||||||
|
# Git settings
|
||||||
|
"git.confirmSync" = false;
|
||||||
|
"git.enableSmartCommit" = true;
|
||||||
|
# Explorer settings
|
||||||
|
"explorer.confirmDelete" = false;
|
||||||
|
"explorer.confirmDragAndDrop" = false;
|
||||||
|
# Diff editor settings
|
||||||
|
"diffEditor.ignoreTrimWhitespace" = false;
|
||||||
|
"diffEditor.wordWrap" = "off";
|
||||||
|
# Zen mode settings
|
||||||
|
"zenMode.centerLayout" = false;
|
||||||
|
"zenMode.hideActivityBar" = false;
|
||||||
|
"zenMode.hideLineNumbers" = false;
|
||||||
|
# File associations
|
||||||
|
"files.associations" = {
|
||||||
|
"*.html" = "html";
|
||||||
|
"*.txt" = "plaintext";
|
||||||
|
};
|
||||||
|
# Navigation and intellisense
|
||||||
|
"path-intellisense.extensionOnImport" = true;
|
||||||
|
# Markdown settings
|
||||||
|
"markdown-preview-enhanced.previewTheme" = "one-dark.css";
|
||||||
|
# Extension specific settings
|
||||||
|
"supermaven.allowGitignore" = true;
|
||||||
|
"supermaven.enable" = {
|
||||||
|
"*" = true;
|
||||||
|
};
|
||||||
|
"continue.enableTabAutocomplete" = false;
|
||||||
|
"continue.showInlineTip" = false;
|
||||||
|
"continue.telemetryEnabled" = false;
|
||||||
|
"hediet.vscode-drawio.resizeImages" = null;
|
||||||
|
"todo-tree.highlights.useColourScheme" = true;
|
||||||
|
"vite.autoStart" = false;
|
||||||
|
# Syntax highlighting and appearance
|
||||||
|
"indentRainbow.colorOnWhiteSpaceOnly" = true;
|
||||||
|
"indentRainbow.indicatorStyle" = "light";
|
||||||
|
"indentRainbow.lightIndicatorStyleLineWidth" = 4;
|
||||||
|
# Spelling and language
|
||||||
|
"cSpell.language" = "en,pl";
|
||||||
|
"cSpell.userWords" = [
|
||||||
|
"garand"
|
||||||
|
"Garand's"
|
||||||
|
"garandplg"
|
||||||
|
"garands"
|
||||||
|
"lockb"
|
||||||
|
"Shadcn"
|
||||||
|
"Vite"
|
||||||
|
];
|
||||||
|
# Security and trust
|
||||||
|
"security.workspace.trust.untrustedFiles" = "open";
|
||||||
|
# Remote development
|
||||||
|
"remote.autoForwardPortsSource" = "hybrid";
|
||||||
|
# Misc
|
||||||
|
"vsintellicode.modify.editor.suggestSelection" = "automaticallyOverrodeDefaultValue";
|
||||||
|
"githubLocalActions.workflowsDirectory" = ".gitea/workflows";
|
||||||
|
};
|
||||||
|
languageSnippets = {
|
||||||
|
"jsonc,json,jsonl" = {
|
||||||
|
"Restore Terminals" = {
|
||||||
|
body = [
|
||||||
|
" \"restoreTerminals.terminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"splitTerminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"name\": \"server\","
|
||||||
|
" \"commands\": [\"npm i\", \"npm run dev\"]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"client\","
|
||||||
|
" \"commands\": [\"npm run dev:client\"]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"test\","
|
||||||
|
" \"commands\": [\"jest --watch\"]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"splitTerminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"name\": \"build & e2e\","
|
||||||
|
" \"commands\": [\"npm run eslint\", \"npm run build\", \"npm run e2e\"],"
|
||||||
|
" \"shouldRunCommands\": false"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"worker\","
|
||||||
|
" \"commands\": [\"npm-run-all --parallel redis tsc-watch-start worker\"]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
];
|
||||||
|
description = "Boilerplate for restore terminals";
|
||||||
|
prefix = [
|
||||||
|
"term"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"nix" = {
|
||||||
|
"Nix-Shell-Default" = {
|
||||||
|
body = [
|
||||||
|
"{"
|
||||||
|
" pkgs ? import <nixpkgs> {},"
|
||||||
|
"}:"
|
||||||
|
"pkgs.mkShell {"
|
||||||
|
" packages = with pkgs; [];"
|
||||||
|
"}"
|
||||||
|
];
|
||||||
|
description = "Podstawa do shelli nix";
|
||||||
|
prefix = [
|
||||||
|
"nix-shell"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
239
hosts/garand-laptop/home/codium/webdev-vue.nix
Normal file
239
hosts/garand-laptop/home/codium/webdev-vue.nix
Normal file
@@ -0,0 +1,239 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
programs.vscode.profiles.webdev-vue = {
|
||||||
|
extensions = with pkgs.vscode-extensions;
|
||||||
|
[
|
||||||
|
christian-kohler.path-intellisense
|
||||||
|
continue.continue
|
||||||
|
davidanson.vscode-markdownlint
|
||||||
|
donjayamanne.githistory
|
||||||
|
ethansk.restore-terminals
|
||||||
|
formulahendry.auto-close-tag
|
||||||
|
formulahendry.auto-rename-tag
|
||||||
|
gruntfuggly.todo-tree
|
||||||
|
jnoortheen.nix-ide
|
||||||
|
mechatroner.rainbow-csv
|
||||||
|
ms-azuretools.vscode-docker
|
||||||
|
oderwat.indent-rainbow
|
||||||
|
shd101wyy.markdown-preview-enhanced
|
||||||
|
streetsidesoftware.code-spell-checker
|
||||||
|
supermaven.supermaven
|
||||||
|
tomoki1207.pdf
|
||||||
|
visualstudioexptteam.intellicode-api-usage-examples
|
||||||
|
visualstudioexptteam.vscodeintellicode
|
||||||
|
vscode-icons-team.vscode-icons
|
||||||
|
tamasfe.even-better-toml
|
||||||
|
ms-ceintl.vscode-language-pack-pl
|
||||||
|
]
|
||||||
|
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
|
||||||
|
{
|
||||||
|
name = "one-dark-pro-monokai-darker";
|
||||||
|
publisher = "eserozvataf";
|
||||||
|
version = "1.1.0";
|
||||||
|
hash = "sha256-jUjBiy0CD7jw2WBMvM3h8bEC2ySEuj7532dC3v9lpyI=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "tab-indent-space-align";
|
||||||
|
publisher = "j-zeppenfeld";
|
||||||
|
version = "0.0.3";
|
||||||
|
hash = "sha256-+WEdYJOVWW7YumfzLkvZmrnpUiC85oLsG1BKMwL1NHc=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "polacode-2019";
|
||||||
|
publisher = "jeff-hykin";
|
||||||
|
version = "0.6.1";
|
||||||
|
hash = "sha256-SbfsD28gaVHAmJskUuc1Q8kA47jrVa3OO5Ur7ULk3jI=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "csv-to-table";
|
||||||
|
publisher = "phplasma";
|
||||||
|
version = "1.4.1";
|
||||||
|
hash = "sha256-npe7cQ4lAZr8HCyQSJmVsCDUJcOhGhL6y1QtUtqUY50=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "bash-debug";
|
||||||
|
publisher = "rogalmic";
|
||||||
|
version = "0.3.9";
|
||||||
|
hash = "sha256-f8FUZCvz/PonqQP9RCNbyQLZPnN5Oce0Eezm/hD19Fg=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "svg-preview";
|
||||||
|
publisher = "simonsiefke";
|
||||||
|
version = "2.8.3";
|
||||||
|
hash = "sha256-hIVe1MmkyuHoDa56ZQUsSAGMlKWABoQ0FBOfgZZDbCw=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "autoimport";
|
||||||
|
publisher = "steoates";
|
||||||
|
version = "1.5.4";
|
||||||
|
hash = "sha256-7iIwJJsoNbtTopc+BQ+195aSCLqdNAaGtMoxShyhBWY=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "code-spell-checker-polish";
|
||||||
|
publisher = "streetsidesoftware";
|
||||||
|
version = "2.1.3";
|
||||||
|
hash = "sha256-MZeTvK9dO4Kj6hK+afJPWGmnKBtlLrrnoqtUd5s2te0=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "vscode-pets";
|
||||||
|
publisher = "tonybaloney";
|
||||||
|
version = "1.30.0";
|
||||||
|
hash = "sha256-RxOA6xQ29JuB0NzEqMDkF9W1U+AsvgAOzGbtIUw0WyM=";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
name = "prettify-json";
|
||||||
|
publisher = "mohsen1";
|
||||||
|
version = "0.0.3";
|
||||||
|
hash = "sha256-lvds+lFDzt1s6RikhrnAKJipRHU+Dk85ZO49d1sA8uo=";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
userSettings = {
|
||||||
|
# Editor appearance and behavior
|
||||||
|
"editor.cursorBlinking" = "expand";
|
||||||
|
"editor.foldingImportsByDefault" = true;
|
||||||
|
"editor.fontFamily" = "FiraCode Nerd Font";
|
||||||
|
"editor.formatOnPaste" = true;
|
||||||
|
"editor.formatOnSave" = true;
|
||||||
|
"editor.guides.bracketPairs" = false;
|
||||||
|
"editor.guides.indentation" = false;
|
||||||
|
"editor.inlayHints.enabled" = "off";
|
||||||
|
"editor.inlineSuggest.showToolbar" = "always";
|
||||||
|
"editor.largeFileOptimizations" = false;
|
||||||
|
"editor.minimap.enabled" = false;
|
||||||
|
"editor.quickSuggestions" = {
|
||||||
|
"strings" = "on";
|
||||||
|
};
|
||||||
|
"editor.suggestFontSize" = 16;
|
||||||
|
"editor.suggestLineHeight" = 30;
|
||||||
|
"editor.tabSize" = 2;
|
||||||
|
"editor.unicodeHighlight.ambiguousCharacters" = false;
|
||||||
|
"editor.unicodeHighlight.invisibleCharacters" = false;
|
||||||
|
"editor.wordWrap" = "off";
|
||||||
|
"editor.hover.enabled" = true;
|
||||||
|
"editor.gotoLocation.multipleDefinitions" = "goto";
|
||||||
|
# Workbench settings
|
||||||
|
"workbench.colorCustomizations" = {
|
||||||
|
"editor.lineHighlightBackground" = "#1073cf2d";
|
||||||
|
"editor.lineHighlightBorder" = "#9fced11f";
|
||||||
|
};
|
||||||
|
"workbench.colorTheme" = "One Dark Pro Monokai Darker";
|
||||||
|
"workbench.iconTheme" = "vscode-icons";
|
||||||
|
"workbench.startupEditor" = "none";
|
||||||
|
# Terminal settings
|
||||||
|
"terminal.integrated.fontFamily" = "FiraCode Nerd Fonts Mono";
|
||||||
|
# Git settings
|
||||||
|
"git.confirmSync" = false;
|
||||||
|
"git.enableSmartCommit" = true;
|
||||||
|
# Explorer settings
|
||||||
|
"explorer.confirmDelete" = false;
|
||||||
|
"explorer.confirmDragAndDrop" = false;
|
||||||
|
# Diff editor settings
|
||||||
|
"diffEditor.ignoreTrimWhitespace" = false;
|
||||||
|
"diffEditor.wordWrap" = "off";
|
||||||
|
# Zen mode settings
|
||||||
|
"zenMode.centerLayout" = false;
|
||||||
|
"zenMode.hideActivityBar" = false;
|
||||||
|
"zenMode.hideLineNumbers" = false;
|
||||||
|
# File associations
|
||||||
|
"files.associations" = {
|
||||||
|
"*.html" = "html";
|
||||||
|
"*.txt" = "plaintext";
|
||||||
|
};
|
||||||
|
# Navigation and intellisense
|
||||||
|
"path-intellisense.extensionOnImport" = true;
|
||||||
|
# Markdown settings
|
||||||
|
"markdown-preview-enhanced.previewTheme" = "one-dark.css";
|
||||||
|
# Extension specific settings
|
||||||
|
"supermaven.allowGitignore" = true;
|
||||||
|
"supermaven.enable" = {
|
||||||
|
"*" = true;
|
||||||
|
};
|
||||||
|
"continue.enableTabAutocomplete" = false;
|
||||||
|
"continue.showInlineTip" = false;
|
||||||
|
"continue.telemetryEnabled" = false;
|
||||||
|
"hediet.vscode-drawio.resizeImages" = null;
|
||||||
|
"todo-tree.highlights.useColourScheme" = true;
|
||||||
|
"vite.autoStart" = false;
|
||||||
|
# Syntax highlighting and appearance
|
||||||
|
"indentRainbow.colorOnWhiteSpaceOnly" = true;
|
||||||
|
"indentRainbow.indicatorStyle" = "light";
|
||||||
|
"indentRainbow.lightIndicatorStyleLineWidth" = 4;
|
||||||
|
# Spelling and language
|
||||||
|
"cSpell.language" = "en,pl";
|
||||||
|
"cSpell.userWords" = [
|
||||||
|
"garand"
|
||||||
|
"Garand's"
|
||||||
|
"garandplg"
|
||||||
|
"garands"
|
||||||
|
"lockb"
|
||||||
|
"Shadcn"
|
||||||
|
"Vite"
|
||||||
|
];
|
||||||
|
# Security and trust
|
||||||
|
"security.workspace.trust.untrustedFiles" = "open";
|
||||||
|
# Remote development
|
||||||
|
"remote.autoForwardPortsSource" = "hybrid";
|
||||||
|
# Misc
|
||||||
|
"vsintellicode.modify.editor.suggestSelection" = "automaticallyOverrodeDefaultValue";
|
||||||
|
"githubLocalActions.workflowsDirectory" = ".gitea/workflows";
|
||||||
|
};
|
||||||
|
languageSnippets = {
|
||||||
|
"jsonc,json,jsonl" = {
|
||||||
|
"Restore Terminals" = {
|
||||||
|
body = [
|
||||||
|
" \"restoreTerminals.terminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"splitTerminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"name\": \"server\","
|
||||||
|
" \"commands\": [\"npm i\", \"npm run dev\"]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"client\","
|
||||||
|
" \"commands\": [\"npm run dev:client\"]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"test\","
|
||||||
|
" \"commands\": [\"jest --watch\"]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"splitTerminals\": ["
|
||||||
|
" {"
|
||||||
|
" \"name\": \"build & e2e\","
|
||||||
|
" \"commands\": [\"npm run eslint\", \"npm run build\", \"npm run e2e\"],"
|
||||||
|
" \"shouldRunCommands\": false"
|
||||||
|
" },"
|
||||||
|
" {"
|
||||||
|
" \"name\": \"worker\","
|
||||||
|
" \"commands\": [\"npm-run-all --parallel redis tsc-watch-start worker\"]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
" }"
|
||||||
|
" ]"
|
||||||
|
];
|
||||||
|
description = "Boilerplate for restore terminals";
|
||||||
|
prefix = [
|
||||||
|
"term"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"nix" = {
|
||||||
|
"Nix-Shell-Default" = {
|
||||||
|
body = [
|
||||||
|
"{"
|
||||||
|
" pkgs ? import <nixpkgs> {},"
|
||||||
|
"}:"
|
||||||
|
"pkgs.mkShell {"
|
||||||
|
" packages = with pkgs; [];"
|
||||||
|
"}"
|
||||||
|
];
|
||||||
|
description = "Podstawa do shelli nix";
|
||||||
|
prefix = [
|
||||||
|
"nix-shell"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
65
hosts/garand-laptop/home/home.nix
Normal file
65
hosts/garand-laptop/home/home.nix
Normal file
@@ -0,0 +1,65 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
username,
|
||||||
|
host,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
dexApps = import ../../../scripts/dex-apps.nix {inherit pkgs;};
|
||||||
|
in {
|
||||||
|
# Home Manager Settings
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
home = {
|
||||||
|
username = "${username}";
|
||||||
|
homeDirectory = "/home/${username}";
|
||||||
|
stateVersion = "23.11";
|
||||||
|
# Place Files Inside Home Directory
|
||||||
|
file = {
|
||||||
|
"Pictures/Wallpapers".source = ../../../config/wallpapers;
|
||||||
|
"Pictures/Wallpapers".recursive = true;
|
||||||
|
".config/wlogout/icons".source = ../../../config/wlogout;
|
||||||
|
".config/wlogout/icons".recursive = true;
|
||||||
|
".face.icon".source = ../../../config/face.jpg;
|
||||||
|
".config/face.jpg".source = ../../../config/face.jpg;
|
||||||
|
".config/swappy/config".text = ''
|
||||||
|
[Default]
|
||||||
|
save_dir=/home/${username}/Pictures/Screenshots
|
||||||
|
save_filename_format=swappy-%Y%m%d-%H%M%S.png
|
||||||
|
show_panel=false
|
||||||
|
line_size=5
|
||||||
|
text_size=20
|
||||||
|
text_font=Ubuntu
|
||||||
|
paint_mode=brush
|
||||||
|
early_exit=true
|
||||||
|
fill_shape=false
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
# Scripts
|
||||||
|
packages = [
|
||||||
|
(import ../../../scripts/emopicker9000.nix {inherit pkgs;})
|
||||||
|
(import ../../../scripts/task-waybar.nix {inherit pkgs;})
|
||||||
|
(import ../../../scripts/squirtle.nix {inherit pkgs;})
|
||||||
|
(import ../../../scripts/nvidia-offload.nix {inherit pkgs;})
|
||||||
|
(import ../../../scripts/wallsetter.nix {
|
||||||
|
inherit pkgs;
|
||||||
|
inherit username;
|
||||||
|
})
|
||||||
|
(import ../../../scripts/web-search.nix {inherit pkgs;})
|
||||||
|
(import ../../../scripts/rofi-launcher.nix {inherit pkgs;})
|
||||||
|
(import ../../../scripts/screenshootin.nix {inherit pkgs;})
|
||||||
|
(import ../../../scripts/list-hypr-bindings.nix {
|
||||||
|
inherit pkgs;
|
||||||
|
inherit host;
|
||||||
|
})
|
||||||
|
|
||||||
|
dexApps.dex-messenger
|
||||||
|
dexApps.dex-instagram
|
||||||
|
dexApps.dex-chatgpt
|
||||||
|
dexApps.dex-portainer
|
||||||
|
dexApps.dex-claude
|
||||||
|
dexApps.dex-beszel
|
||||||
|
dexApps.dex-mastodon
|
||||||
|
dexApps.dex-nextcloud
|
||||||
|
dexApps.dex-dailydev
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
37
hosts/garand-laptop/home/misc.nix
Normal file
37
hosts/garand-laptop/home/misc.nix
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
{pkgs, ...}: {
|
||||||
|
# Create XDG Dirs
|
||||||
|
xdg = {
|
||||||
|
enable = true;
|
||||||
|
userDirs = {
|
||||||
|
enable = true;
|
||||||
|
createDirectories = true;
|
||||||
|
};
|
||||||
|
portal = {
|
||||||
|
enable = true;
|
||||||
|
xdgOpenUsePortal = true;
|
||||||
|
extraPortals = [
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
pkgs.xdg-desktop-portal-hyprland
|
||||||
|
];
|
||||||
|
config = {
|
||||||
|
common = {
|
||||||
|
default = [
|
||||||
|
"gtk"
|
||||||
|
"hyprland"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
configPackages = [
|
||||||
|
pkgs.xdg-desktop-portal-gtk
|
||||||
|
pkgs.xdg-desktop-portal-hyprland
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
dconf.settings = {
|
||||||
|
"org/virt-manager/virt-manager/connections" = {
|
||||||
|
autoconnect = ["qemu:///system"];
|
||||||
|
uris = ["qemu:///system"];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
311
hosts/garand-laptop/home/programs.librewolf.nix
Normal file
311
hosts/garand-laptop/home/programs.librewolf.nix
Normal file
File diff suppressed because one or more lines are too long
145
hosts/garand-laptop/home/programs.nix
Normal file
145
hosts/garand-laptop/home/programs.nix
Normal file
@@ -0,0 +1,145 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
username,
|
||||||
|
host,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (import ../variables.nix) gitUsername gitEmail;
|
||||||
|
in {
|
||||||
|
programs = {
|
||||||
|
home-manager.enable = true;
|
||||||
|
|
||||||
|
git = {
|
||||||
|
enable = true;
|
||||||
|
userName = "${gitUsername}";
|
||||||
|
userEmail = "${gitEmail}";
|
||||||
|
extraConfig = {
|
||||||
|
credential.helper = "cache --timeout=3600";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gh.enable = true;
|
||||||
|
|
||||||
|
btop = {
|
||||||
|
enable = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
kitty = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.kitty;
|
||||||
|
settings = {
|
||||||
|
scrollback_lines = 2000;
|
||||||
|
wheel_scroll_min_lines = 1;
|
||||||
|
window_padding_width = 4;
|
||||||
|
confirm_os_window_close = 0;
|
||||||
|
};
|
||||||
|
extraConfig = ''
|
||||||
|
tab_bar_style fade
|
||||||
|
tab_fade 1
|
||||||
|
active_tab_font_style bold
|
||||||
|
inactive_tab_font_style bold
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
|
starship = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.starship;
|
||||||
|
};
|
||||||
|
|
||||||
|
bash = {
|
||||||
|
enable = true;
|
||||||
|
enableCompletion = true;
|
||||||
|
profileExtra = ''
|
||||||
|
#if [ -z "$DISPLAY" ] && [ "$XDG_VTNR" = 1 ]; then
|
||||||
|
# exec Hyprland
|
||||||
|
#fi
|
||||||
|
'';
|
||||||
|
initExtra = ''
|
||||||
|
fastfetch
|
||||||
|
if [ -f $HOME/.bashrc-personal ]; then
|
||||||
|
source $HOME/.bashrc-personal
|
||||||
|
fi
|
||||||
|
'';
|
||||||
|
shellAliases = {
|
||||||
|
os-sw = "sudo nixos-rebuild switch --flake ~/zaneyos";
|
||||||
|
os-bt = "sudo nixos-rebuild boot --flake ~/zaneyos";
|
||||||
|
os-ts = "sudo nixos-rebuild test --flake ~/zaneyos";
|
||||||
|
os-up = "sudo nix flake update";
|
||||||
|
os-upg = "sudo nix flake update && sudo nixos-rebuild switch --flake ~/zaneyos";
|
||||||
|
os-up-np = "sudo nix flake update --update-input nixpkgs";
|
||||||
|
os-up-hm = "sudo nix flake update --update-input home-manager";
|
||||||
|
os-up-sx = "sudo nix flake update --update-input stylix";
|
||||||
|
os-up-af = "sudo nix flake update --update-input auto-cpufreq";
|
||||||
|
os-up-fa = "sudo nix flake update --update-input firefox-addons";
|
||||||
|
fr = "nh os switch --hostname ${host} /home/${username}/zaneyos";
|
||||||
|
fu = "nh os switch --hostname ${host} --update /home/${username}/zaneyos";
|
||||||
|
hypr-cli = "hyprctl clients";
|
||||||
|
zu = "sh <(curl -L https://gitlab.com/Zaney/zaneyos/-/raw/main/install-zaneyos.sh)";
|
||||||
|
ncg = "nix-collect-garbage --delete-old && sudo nix-collect-garbage -d && sudo /run/current-system/bin/switch-to-configuration boot";
|
||||||
|
n = "nano";
|
||||||
|
f = "fuck";
|
||||||
|
cat = "bat";
|
||||||
|
ookla = "speedtest";
|
||||||
|
ls = "eza --icons";
|
||||||
|
ll = "eza -lh --icons --grid --group-directories-first";
|
||||||
|
la = "eza -lah --icons --grid --group-directories-first";
|
||||||
|
ssh-server = "ssh garand_plg@192.168.1.156 -p 556 -i ~/.ssh/hp-t640-homeserver";
|
||||||
|
scp-to-server = "function scp-to-server() { scp -i ~/.ssh/hp-t640-homeserver -P 556 $1 garand_plg@192.168.1.156:$2; }; scp-to-server";
|
||||||
|
fc = "fortune | cowsay";
|
||||||
|
terminal = "cat /home/garand_plg/Documents/terminal.txt";
|
||||||
|
e-terminal = "nano /home/garand_plg/Documents/terminal.txt";
|
||||||
|
mkgidf = "git add --intent-to-add . && git diff > git-diff.txt";
|
||||||
|
".." = "cd ..";
|
||||||
|
kys = "shutdown now";
|
||||||
|
pasjans = "ttysolitaire -p 10 --no-background-color";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
hyprlock = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
general = {
|
||||||
|
disable_loading_bar = true;
|
||||||
|
grace = 10;
|
||||||
|
hide_cursor = true;
|
||||||
|
no_fade_in = false;
|
||||||
|
};
|
||||||
|
background = lib.mkForce [
|
||||||
|
{
|
||||||
|
path = "/home/${username}/Pictures/Wallpapers/attack-on-titan-mikasa-ackerman.jpg";
|
||||||
|
blur_passes = 3;
|
||||||
|
blur_size = 8;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
image = [
|
||||||
|
{
|
||||||
|
path = "/home/${username}/.config/face.jpg";
|
||||||
|
size = 150;
|
||||||
|
border_size = 4;
|
||||||
|
border_color = "rgb(0C96F9)";
|
||||||
|
rounding = -1; # Negative means circle
|
||||||
|
position = "0, 200";
|
||||||
|
halign = "center";
|
||||||
|
valign = "center";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
input-field = lib.mkDefault [
|
||||||
|
{
|
||||||
|
size = "200, 50";
|
||||||
|
position = "0, -80";
|
||||||
|
monitor = "";
|
||||||
|
dots_center = true;
|
||||||
|
fade_on_empty = false;
|
||||||
|
font_color = "rgb(CFE6F4)";
|
||||||
|
inner_color = "rgb(657DC2)";
|
||||||
|
outer_color = "rgb(0D0E15)";
|
||||||
|
outline_thickness = 5;
|
||||||
|
placeholder_text = "Password...";
|
||||||
|
shadow_passes = 2;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
24
hosts/garand-laptop/home/services.nix
Normal file
24
hosts/garand-laptop/home/services.nix
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
{...}: {
|
||||||
|
services = {
|
||||||
|
hypridle = {
|
||||||
|
settings = {
|
||||||
|
general = {
|
||||||
|
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||||
|
ignore_dbus_inhibit = false;
|
||||||
|
lock_cmd = "hyprlock";
|
||||||
|
};
|
||||||
|
listener = [
|
||||||
|
{
|
||||||
|
timeout = 900;
|
||||||
|
on-timeout = "hyprlock";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
timeout = 1200;
|
||||||
|
on-timeout = "hyprctl dispatch dpms off";
|
||||||
|
on-resume = "hyprctl dispatch dpms on";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
41
hosts/garand-laptop/home/styles.nix
Normal file
41
hosts/garand-laptop/home/styles.nix
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
host,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
# Styling Options
|
||||||
|
stylix = {
|
||||||
|
targets = {
|
||||||
|
librewolf.profileNames = ["${host}"];
|
||||||
|
waybar = {
|
||||||
|
enable = false;
|
||||||
|
};
|
||||||
|
rofi = {
|
||||||
|
enable = false;
|
||||||
|
};
|
||||||
|
hyprland = {
|
||||||
|
enable = false;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
gtk = {
|
||||||
|
iconTheme = {
|
||||||
|
name = "Papirus-Dark";
|
||||||
|
package = pkgs.papirus-icon-theme;
|
||||||
|
};
|
||||||
|
gtk3.extraConfig = {
|
||||||
|
gtk-application-prefer-dark-theme = 1;
|
||||||
|
};
|
||||||
|
gtk4.extraConfig = {
|
||||||
|
gtk-application-prefer-dark-theme = 1;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qt = {
|
||||||
|
enable = true;
|
||||||
|
style.name = lib.mkDefault "adwaita-dark";
|
||||||
|
platformTheme.name = lib.mkDefault "gtk3";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -1,16 +1,12 @@
|
|||||||
{
|
{
|
||||||
# Git Configuration ( For Pulling Software Repos )
|
|
||||||
gitUsername = "GarandPLG";
|
gitUsername = "GarandPLG";
|
||||||
gitEmail = "garandplg@garandplg.com";
|
gitEmail = "garandplg@garandplg.com";
|
||||||
|
|
||||||
# Hyprland Settings
|
|
||||||
extraMonitorSettings = "";
|
extraMonitorSettings = "";
|
||||||
|
|
||||||
# Waybar Settings
|
|
||||||
clock24h = true;
|
clock24h = true;
|
||||||
|
|
||||||
# Program Options
|
browser = "librewolf";
|
||||||
browser = "librewolf"; # Set Default Browser (google-chrome-stable for google-chrome)
|
terminal = "warp-terminal";
|
||||||
terminal = "kitty"; # Set Default System Terminal
|
|
||||||
keyboardLayout = "pl";
|
keyboardLayout = "pl";
|
||||||
}
|
}
|
||||||
|
|||||||
46
scripts/dex-apps.nix
Normal file
46
scripts/dex-apps.nix
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
{pkgs}: {
|
||||||
|
dex-messenger = pkgs.writeShellScriptBin "dex-messenger" ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
dex ~/.local/share/applications/chrome-bbdeiblfgdokhlblpgeaokenkfknecgl-Default.desktop
|
||||||
|
'';
|
||||||
|
|
||||||
|
dex-instagram = pkgs.writeShellScriptBin "dex-instagram" ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
dex ~/.local/share/applications/chrome-akpamiohjfcnimfljfndmaldlcfphjmp-Default.desktop
|
||||||
|
'';
|
||||||
|
|
||||||
|
dex-chatgpt = pkgs.writeShellScriptBin "dex-chatgpt" ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
dex ~/.local/share/applications/chrome-cadlkienfkclaiaibeoongdcgmdikeeg-Default.desktop
|
||||||
|
'';
|
||||||
|
|
||||||
|
dex-portainer = pkgs.writeShellScriptBin "dex-portainer" ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
dex ~/.local/share/applications/chrome-dbipeoijaciefjfbfdkpfncmlbfinpge-Default.desktop
|
||||||
|
'';
|
||||||
|
|
||||||
|
dex-claude = pkgs.writeShellScriptBin "dex-claude" ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
dex ~/.local/share/applications/chrome-fmpnliohjhemenmnlpbfagaolkdacoja-Default.desktop
|
||||||
|
'';
|
||||||
|
|
||||||
|
dex-beszel = pkgs.writeShellScriptBin "dex-beszel" ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
dex ~/.local/share/applications/chrome-gppdefkeejighoejcenjnohhijfbcbkj-Default.desktop
|
||||||
|
'';
|
||||||
|
|
||||||
|
dex-mastodon = pkgs.writeShellScriptBin "dex-mastodon" ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
dex ~/.local/share/applications/chrome-mcpclnpikkcgnjfknenfalelmlaccfcj-Default.desktop
|
||||||
|
'';
|
||||||
|
|
||||||
|
dex-nextcloud = pkgs.writeShellScriptBin "dex-nextcloud" ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
dex ~/.local/share/applications/chrome-nibpilkookahlimkjopijpmhgllidlok-Default.desktop
|
||||||
|
'';
|
||||||
|
|
||||||
|
dex-dailydev = pkgs.writeShellScriptBin "dex-dailydev" ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
dex ~/.local/share/applications/chrome-ppepjbbmpdbanediafpgploonglppmlk-Default.desktop
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -18,31 +18,13 @@ in
|
|||||||
--timeout=90 \
|
--timeout=90 \
|
||||||
--timeout-indicator=right \
|
--timeout-indicator=right \
|
||||||
" = Windows/Super/CAPS LOCK" "Klawisz modyfikatora, używany do skrótów klawiszowych" "Nie wykonuje niczego samodzielnie." \
|
" = Windows/Super/CAPS LOCK" "Klawisz modyfikatora, używany do skrótów klawiszowych" "Nie wykonuje niczego samodzielnie." \
|
||||||
" + ENTER" "Otwórz terminal" "${terminal}" \
|
|
||||||
" + SHIFT + ENTER" "Uruchom launcher aplikacji" "rofi" \
|
|
||||||
" + V" "Uruchom Visual Studio Codium" "codium" \
|
|
||||||
" + ALT + W" "Zmień tapetę" "wallsetter" \
|
|
||||||
" + Q" "Zamknij aktywne okno" "killactive" \
|
" + Q" "Zamknij aktywne okno" "killactive" \
|
||||||
" + SHIFT + W" "Szukaj w internecie" "web-search" \
|
" + Esc" "Wyjdź z Hyprland" "exit" \
|
||||||
" + SHIFT + N" "Przeładuj stylizację SwayNC" "swaync-client -rs" \
|
|
||||||
" + W" "Uruchom przeglądarkę internetową" "${browser}" \
|
|
||||||
" + E" "Uruchom selektor emotikon" "emopicker9000" \
|
|
||||||
" + S" "Zrób zrzut ekranu" "screenshootin" \
|
|
||||||
" + SHIFT + S" "Uruchom Slack" "slack" \
|
|
||||||
" + D" "Uruchom Discord" "discord" \
|
|
||||||
" + O" "Uruchom OBS" "obs" \
|
|
||||||
" + G" "Uruchom GIMP" "gimp" \
|
|
||||||
" + SHIFT + G" "Uruchom Godot4" "godot4" \
|
|
||||||
" + C" "Uruchom selektor kolorów" "hyprpicker -a" \
|
|
||||||
" + T" "Otwórz nowe okno menedżera plików" "thunar" \
|
|
||||||
" + SHIFT + T" "Uruchom Tutanota" "tutanota-desktop" \
|
|
||||||
" + M" "Uruchom Plexamp" "Plexamp" \
|
|
||||||
" + SHIFT + M" "Uruchom Messengera" "chrome-bbdeiblfgdokhlblpgeaokenkfknecgl-Default" \
|
|
||||||
" + P" "Pseudo kafelkowanie" "pseudo" \
|
" + P" "Pseudo kafelkowanie" "pseudo" \
|
||||||
" + SHIFT + I" "Przełącz kierunek podziału" "togglesplit" \
|
" + SHIFT + I" "Przełącz kierunek podziału" "togglesplit" \
|
||||||
" + F" "Przełącz tryb pełnoekranowy" "fullscreen" \
|
" + F" "Przełącz tryb pełnoekranowy" "fullscreen" \
|
||||||
" + SHIFT + F" "Przełącz tryb pływający" "fullscreen" \
|
" + SHIFT + F" "Przełącz tryb pływający" "togglefloating" \
|
||||||
" + SHIFT + C" "Wyjdź z Hyprland" "exit" \
|
"ALT + TAB" "Zmień fokus na następne okno i przenieś je na wierzch" "cyclenext & bringactivetotop" \
|
||||||
" + Lewo" "Przenieś fokus na okno po lewej" "movefocus,l" \
|
" + Lewo" "Przenieś fokus na okno po lewej" "movefocus,l" \
|
||||||
" + Prawo" "Przenieś fokus na okno po prawej" "movefocus,r" \
|
" + Prawo" "Przenieś fokus na okno po prawej" "movefocus,r" \
|
||||||
" + Góra" "Przenieś fokus na okno u góry" "movefocus,u" \
|
" + Góra" "Przenieś fokus na okno u góry" "movefocus,u" \
|
||||||
@@ -51,10 +33,6 @@ in
|
|||||||
" + SHIFT + Prawo" "Przenieś aktywne okno w prawo" "movewindow,r" \
|
" + SHIFT + Prawo" "Przenieś aktywne okno w prawo" "movewindow,r" \
|
||||||
" + SHIFT + Góra" "Przenieś aktywne okno do góry" "movewindow,u" \
|
" + SHIFT + Góra" "Przenieś aktywne okno do góry" "movewindow,u" \
|
||||||
" + SHIFT + Dół" "Przenieś aktywne okno do dołu" "movewindow,d" \
|
" + SHIFT + Dół" "Przenieś aktywne okno do dołu" "movewindow,d" \
|
||||||
" + H" "Przenieś fokus na okno po lewej" "movefocus,l" \
|
|
||||||
" + L" "Przenieś fokus na okno po prawej" "movefocus,r" \
|
|
||||||
" + K" "Przenieś fokus na okno u góry" "movefocus,u" \
|
|
||||||
" + J" "Przenieś fokus na okno u dołu" "movefocus,d" \
|
|
||||||
" + SHIFT + H" "Przenieś aktywne okno w lewo" "movewindow,l" \
|
" + SHIFT + H" "Przenieś aktywne okno w lewo" "movewindow,l" \
|
||||||
" + SHIFT + L" "Przenieś aktywne okno w prawo" "movewindow,r" \
|
" + SHIFT + L" "Przenieś aktywne okno w prawo" "movewindow,r" \
|
||||||
" + SHIFT + K" "Przenieś aktywne okno do góry" "movewindow,u" \
|
" + SHIFT + K" "Przenieś aktywne okno do góry" "movewindow,u" \
|
||||||
@@ -69,7 +47,40 @@ in
|
|||||||
" + Kliknięcie myszą w górę" "Przenieś się do poprzedniej przestrzeni roboczej" "workspace,e-1" \
|
" + Kliknięcie myszą w górę" "Przenieś się do poprzedniej przestrzeni roboczej" "workspace,e-1" \
|
||||||
" + Lewy przycisk myszy" "Przenieś/Przeciągnij okno" "movewindow" \
|
" + Lewy przycisk myszy" "Przenieś/Przeciągnij okno" "movewindow" \
|
||||||
" + Prawy przycisk myszy" "Zmień rozmiar okna" "resizewindow" \
|
" + Prawy przycisk myszy" "Zmień rozmiar okna" "resizewindow" \
|
||||||
"ALT + TAB" "Zmień fokus na następne okno i przenieś je na wierzch" "cyclenext & bringactivetotop" \
|
" + ENTER" "Otwórz terminal" "${terminal}" \
|
||||||
|
" + SHIFT + ENTER" "Uruchom launcher aplikacji" "rofi-launcher" \
|
||||||
|
" + ALT + W" "Zmień tapetę" "wallsetter" \
|
||||||
|
" + SHIFT + S" "Zrób zrzut ekranu" "screenshootin" \
|
||||||
|
" + E" "Uruchom selektor emotikon" "emopicker9000" \
|
||||||
|
" + SHIFT + P" "Uruchom selektor kolorów" "hyprpicker -a" \
|
||||||
|
" + SHIFT + W" "Szukaj w internecie" "web-search" \
|
||||||
|
" + SHIFT + K" "Uruchom kalkulator" "galculator" \
|
||||||
|
" + B" "Uruchom monitorowanie zasobów" "btop" \
|
||||||
|
" + SHIFT + B" "Uruchom manager Bluethooth" "blueman-manager" \
|
||||||
|
" + T" "Otwórz nowe okno menedżera plików" "thunar" \
|
||||||
|
" + W" "Uruchom przeglądarkę internetową" "${browser}" \
|
||||||
|
" + S" "Uruchom Slack" "slack" \
|
||||||
|
" + D" "Uruchom Discord" "discord" \
|
||||||
|
" + C" "Uruchom Chromium" "chromium" \
|
||||||
|
" + SHIFT + C" "Uruchom Claude" "dex-claude" \
|
||||||
|
" + SHIFT + G" "Uruchom ChatGPT" "dex-chatgpt" \
|
||||||
|
" + SHIFT + M" "Uruchom Messengera" "dex-messenger" \
|
||||||
|
" + SHIFT + T" "Uruchom Tutanota" "tutanota-desktop" \
|
||||||
|
" + I" "Uruchom Instagram" "dex-instagram" \
|
||||||
|
" + R" "Uruchom Portainer" "dex-portainer" \
|
||||||
|
" + U" "Uruchom Mastodon" "dex-mastodon" \
|
||||||
|
" + Y" "Uruchom FreeTube" "freetube" \
|
||||||
|
" + SHIFT + Y" "Uruchom Daily.dev" "dex-dailydev" \
|
||||||
|
" + V" "Uruchom Visual Studio Codium" "codium" \
|
||||||
|
" + O" "Uruchom ONLYOFFICE" "onlyoffice-desktopeditors" \
|
||||||
|
" + SHIFT + O" "Uruchom OBS" "obs" \
|
||||||
|
" + G" "Uruchom GIMP" "gimp3" \
|
||||||
|
" + N" "Uruchom klienta nextcloud" "dex-nextcloud" \
|
||||||
|
" + SHIFT + N" "Uruchom synchronizację nextcloud" "nextcloud" \
|
||||||
|
" + L" "Uruchom Lutris" "lutris" \
|
||||||
|
" + A" "Uruchom Anki" "anki" \
|
||||||
|
" + M" "Uruchom Plexamp" "plexamp" \
|
||||||
|
" + Z" "Uruchom Beszel (monitorowanie serwerów)" "dex-beszel" \
|
||||||
"+" "Zwiększ głośność" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+" \
|
"+" "Zwiększ głośność" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+" \
|
||||||
"-" "Zmniejsz głośność" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" \
|
"-" "Zmniejsz głośność" "wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-" \
|
||||||
"x" "Włącz/wyłącz wyciszenie" "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" \
|
"x" "Włącz/wyłącz wyciszenie" "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" \
|
||||||
|
|||||||
@@ -1,43 +1,43 @@
|
|||||||
{pkgs}:
|
{pkgs}:
|
||||||
pkgs.writeShellScriptBin "web-search" ''
|
pkgs.writeShellScriptBin "web-search" ''
|
||||||
declare -A URLS
|
declare -A URLS
|
||||||
|
|
||||||
URLS=(
|
URLS=(
|
||||||
["🌎 Search"]="https://search.garandplg.com/search?q="
|
["🌎 Search"]="https://search.garandplg.com/search?q="
|
||||||
["❄️ Unstable Packages"]="https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query="
|
["❄️ Unstable Packages"]="https://search.nixos.org/packages?channel=unstable&from=0&size=50&sort=relevance&type=packages&query="
|
||||||
["🎞️ YouTube"]="https://www.youtube.com/results?search_query="
|
["🎞️ YouTube"]="https://www.youtube.com/results?search_query="
|
||||||
["❄️ NixOS Wiki"]="https://nixos.wiki/index.php?search="
|
["❄️ NixOS Wiki"]="https://nixos.wiki/index.php?search="
|
||||||
["🔎 Wikipedia"]="https://pl.wikipedia.org/w/index.php?ns0=1&search="
|
["🔎 Wikipedia"]="https://pl.wikipedia.org/w/index.php?ns0=1&search="
|
||||||
["👨💻 StackOverflow"]="https://stackoverflow.com/search?q="
|
["👨💻 StackOverflow"]="https://stackoverflow.com/search?q="
|
||||||
)
|
)
|
||||||
|
|
||||||
# List for rofi
|
# List for rofi
|
||||||
gen_list() {
|
gen_list() {
|
||||||
for i in "''${!URLS[@]}"
|
for i in "''${!URLS[@]}"
|
||||||
do
|
do
|
||||||
echo "$i"
|
echo "$i"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
main() {
|
main() {
|
||||||
# Pass the list to rofi
|
# Pass the list to rofi
|
||||||
platform=$( (gen_list) | ${pkgs.wofi}/bin/wofi -dmenu )
|
platform=$( (gen_list) | ${pkgs.wofi}/bin/wofi -dmenu )
|
||||||
|
|
||||||
if [[ -n "$platform" ]]; then
|
if [[ -n "$platform" ]]; then
|
||||||
query=$( (echo ) | ${pkgs.wofi}/bin/wofi -dmenu )
|
query=$( (echo ) | ${pkgs.wofi}/bin/wofi -dmenu )
|
||||||
|
|
||||||
if [[ -n "$query" ]]; then
|
if [[ -n "$query" ]]; then
|
||||||
url=''${URLS[$platform]}$query
|
url=''${URLS[$platform]}$query
|
||||||
xdg-open "$url"
|
xdg-open "$url"
|
||||||
else
|
else
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
''
|
''
|
||||||
|
|||||||
Reference in New Issue
Block a user