mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 07:00:21 +02:00
Compare commits
4 commits
a2bfea4c99
...
40aa35b0f7
Author | SHA1 | Date | |
---|---|---|---|
40aa35b0f7 | |||
777d704487 | |||
2a1a02645d | |||
c97cc8a8c7 |
11 changed files with 70 additions and 20 deletions
|
@ -1,8 +1,11 @@
|
||||||
alias gocode="cd ~/Documents/Code/"
|
kittysay "meow, what r we doin 2day :3"
|
||||||
|
|
||||||
kittysay meow
|
|
||||||
eval "$(zoxide init bash)"
|
eval "$(zoxide init bash)"
|
||||||
eval "$(direnv hook bash)"
|
eval "$(direnv hook bash)"
|
||||||
|
|
||||||
# nnn configuration
|
# nnn configuration
|
||||||
NNN_PLUG='L:nmount'
|
NNN_PLUG='L:nmount'
|
||||||
|
|
||||||
|
BLUE="\x01[$(tput setaf 12)\x02]"
|
||||||
|
RESET="\x01[$(tput setaf 15)\x02]"
|
||||||
|
|
||||||
|
# PS1='\n${BLUE} ${RESET}:\h \n\u@\h$ '
|
16
home-manager/dotfiles/hyfetch/hyfetch.json
Normal file
16
home-manager/dotfiles/hyfetch/hyfetch.json
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
{
|
||||||
|
"preset": "genderfluid",
|
||||||
|
"mode": "rgb",
|
||||||
|
"light_dark": "dark",
|
||||||
|
"lightness": 0.81,
|
||||||
|
"color_align": {
|
||||||
|
"mode": "horizontal",
|
||||||
|
"custom_colors": [],
|
||||||
|
"fore_back": null
|
||||||
|
},
|
||||||
|
"backend": "neofetch",
|
||||||
|
"args": null,
|
||||||
|
"distro": null,
|
||||||
|
"pride_month_shown": [],
|
||||||
|
"pride_month_disable": false
|
||||||
|
}
|
|
@ -29,7 +29,7 @@ set $screenshot_folder ~/Images/Captures\ d\'écrans/
|
||||||
### Output configuration
|
### Output configuration
|
||||||
#
|
#
|
||||||
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
|
# Default wallpaper (more resolutions are available in /run/current-system/sw/share/backgrounds/sway/)
|
||||||
output * bg wallpapers/wipeout_1.jpg fill
|
output * bg wallpapers/lain_1.jpg fill
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
|
@ -41,11 +41,10 @@ output * bg wallpapers/wipeout_1.jpg fill
|
||||||
#
|
#
|
||||||
# Example configuration:
|
# Example configuration:
|
||||||
#
|
#
|
||||||
# exec swayidle -w \
|
exec swayidle -w \
|
||||||
# timeout 300 'swaylock -f -c 000000' \
|
timeout 300 'swaylock -f -c 000000' \
|
||||||
#
|
timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
||||||
# timeout 600 'swaymsg "output * power off"' resume 'swaymsg "output * power on"' \
|
before-sleep 'swaylock -f -c 000000'
|
||||||
# before-sleep 'swaylock -f -c 000000'
|
|
||||||
#
|
#
|
||||||
# This will lock your screen after 300 seconds of inactivity, then turn off
|
# This will lock your screen after 300 seconds of inactivity, then turn off
|
||||||
# your displays after another 300 seconds, and turn your screens back on when
|
# your displays after another 300 seconds, and turn your screens back on when
|
||||||
|
@ -229,7 +228,6 @@ seat seat0 xcursor_theme "miku-cursor-linux" 36
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
|
||||||
# enable numlock on start
|
# enable numlock on start
|
||||||
input type:keyboard xkb_capslock enabled
|
|
||||||
input type:keyboard xkb_numlock enabled
|
input type:keyboard xkb_numlock enabled
|
||||||
|
|
||||||
# floating bitwarden
|
# floating bitwarden
|
||||||
|
|
0
home-manager/dotfiles/sway/scripts/wallpapers.sh
Normal file
0
home-manager/dotfiles/sway/scripts/wallpapers.sh
Normal file
BIN
home-manager/dotfiles/sway/wallpapers/lain_1.jpg
Normal file
BIN
home-manager/dotfiles/sway/wallpapers/lain_1.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 MiB |
|
@ -1,8 +1,8 @@
|
||||||
{
|
{
|
||||||
"layer": "top",
|
"layer": "top",
|
||||||
"modules-left": ["sway/workspaces", "sway/mode"],
|
"modules-left": ["custom/launcher", "sway/workspaces", "sway/mode"],
|
||||||
"modules-center": [],
|
"modules-center": [],
|
||||||
"modules-right": ["wireplumber", "bluetooth", "network", "clock", "privacy"],
|
"modules-right": ["tray", "bluetooth", "network", "clock", "privacy"],
|
||||||
"clock": {
|
"clock": {
|
||||||
"format-alt": "{:%a, %d. %b %H:%M}"
|
"format-alt": "{:%a, %d. %b %H:%M}"
|
||||||
},
|
},
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
"max-length": 50
|
"max-length": 50
|
||||||
},
|
},
|
||||||
"bluetooth": {
|
"bluetooth": {
|
||||||
"format": "",
|
"format": "",
|
||||||
"format-disabled": "",
|
"format-disabled": "",
|
||||||
"format-connected": ""
|
"format-connected": ""
|
||||||
},
|
},
|
||||||
|
@ -74,5 +74,7 @@
|
||||||
"on-click": "swaync-client -t -sw",
|
"on-click": "swaync-client -t -sw",
|
||||||
"on-click-right": "swaync-client -d -sw",
|
"on-click-right": "swaync-client -d -sw",
|
||||||
"escape": true
|
"escape": true
|
||||||
}
|
},
|
||||||
|
"custom/launcher": {},
|
||||||
|
"custom/controlpanel": {}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,19 +1,25 @@
|
||||||
@define-color primary rgba(123, 0, 44, 1);
|
@define-color primary rgba(123, 0, 44, 1);
|
||||||
|
|
||||||
* {
|
* {
|
||||||
font-family: "CodeNewRoman Nerd Font";
|
padding: 0;
|
||||||
|
border-radius: 0;
|
||||||
|
min-height: 0;
|
||||||
|
margin: 0;
|
||||||
|
border: none;
|
||||||
|
text-shadow: none;
|
||||||
|
transition: none;
|
||||||
|
box-shadow: none;
|
||||||
|
font-family: "DM Sans", "CodeNewRoman Nerd Font", sans-serif;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
window#waybar {
|
window#waybar {
|
||||||
margin: 12px 24px;
|
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border: solid 2px @primary;
|
/*border: solid 2px @primary;*/
|
||||||
min-height: 14px; /* set waybar's height to 14px */
|
min-height: 14px; /* set waybar's height to 14px */
|
||||||
font-size: 14px; /* set only the font size to be bigger, which in turn will adjust the height of other elements */
|
font-size: 14px; /* set only the font size to be bigger, which in turn will adjust the height of other elements */
|
||||||
border-radius: 12px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#clock,
|
#clock,
|
||||||
|
@ -24,9 +30,19 @@ window#waybar {
|
||||||
padding: 0 12px;
|
padding: 0 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#workspaces button {
|
||||||
|
border-radius: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#workspaces button:hover {
|
||||||
|
box-shadow: inherit;
|
||||||
|
text-shadow: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
#workspaces button.focused {
|
#workspaces button.focused {
|
||||||
|
background-color: #000;
|
||||||
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
#workspaces {
|
#workspaces {
|
||||||
padding: 4px 0;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
# # fonts?
|
# # fonts?
|
||||||
(pkgs.nerdfonts.override { fonts = [ "CodeNewRoman" ]; })
|
(pkgs.nerdfonts.override { fonts = [ "CodeNewRoman" ]; })
|
||||||
|
|
||||||
|
pkgs.dm-sans
|
||||||
pkgs.zoxide
|
pkgs.zoxide
|
||||||
pkgs.btop
|
pkgs.btop
|
||||||
#pkgs.bitwarden
|
#pkgs.bitwarden
|
||||||
|
@ -99,6 +100,7 @@
|
||||||
".config/waybar".source = dotfiles/waybar;
|
".config/waybar".source = dotfiles/waybar;
|
||||||
".config/cava".source = dotfiles/cava;
|
".config/cava".source = dotfiles/cava;
|
||||||
".bashrc".source = dotfiles/bash/.bashrc;
|
".bashrc".source = dotfiles/bash/.bashrc;
|
||||||
|
".config/hyfetch.json".source = dotfiles/hyfetch/hyfetch.json;
|
||||||
|
|
||||||
# # You can also set the file content immediately.
|
# # You can also set the file content immediately.
|
||||||
# ".gradle/gradle.properties".text = ''
|
# ".gradle/gradle.properties".text = ''
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
./flatpak.nix
|
./flatpak.nix
|
||||||
./discord.nix
|
./discord.nix
|
||||||
|
./ollama.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
9
hosts/goober/features/software/ollama.nix
Normal file
9
hosts/goober/features/software/ollama.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
{config, pkgs, ...}:
|
||||||
|
{
|
||||||
|
services.ollama = {
|
||||||
|
enable = true;
|
||||||
|
# Optional: load models on startup
|
||||||
|
loadModels = [ "deepseek-r1:8b" ];
|
||||||
|
acceleration = "cuda";
|
||||||
|
};
|
||||||
|
}
|
|
@ -23,5 +23,8 @@
|
||||||
|
|
||||||
# native wayland support (unstable)
|
# native wayland support (unstable)
|
||||||
wineWowPackages.waylandFull
|
wineWowPackages.waylandFull
|
||||||
|
|
||||||
|
# for easy games gestion
|
||||||
|
lutris
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue