mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-11 18:18:37 +02:00
removed some bugs and corrected the README
This commit is contained in:
@@ -1,4 +1,13 @@
|
|||||||
#How to instal#\n
|
# NixOS configuration
|
||||||
git clone https://github.com/Totorile1/nixos.git\n
|

|
||||||
cd ./nixos\n
|
### Installation guide
|
||||||
sudo nixos-rebuild switch --flake ~/nixos/#laptop\n
|
You need to have `git` installed before installing the config.
|
||||||
|
```shell
|
||||||
|
cd
|
||||||
|
git clone https://github.com/Totorile1/nixos.git
|
||||||
|
cd ./nixos
|
||||||
|
sudo nixos-rebuild switch --flake ~/nixos/#laptop
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 2.8 MiB |
@@ -59,6 +59,7 @@ home.packages = [
|
|||||||
(pkgs.callPackage ../../modules/scripts/weatherwaybar.nix {})
|
(pkgs.callPackage ../../modules/scripts/weatherwaybar.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/colorpicker.nix {})
|
(pkgs.callPackage ../../modules/scripts/colorpicker.nix {})
|
||||||
(pkgs.callPackage ../../modules/scripts/killall.nix {})
|
(pkgs.callPackage ../../modules/scripts/killall.nix {})
|
||||||
|
(pkgs.callPackage ../../modules/scripts/launch.nix {}) # necessary for the apps i launch with hyprland at every start
|
||||||
#pkgs
|
#pkgs
|
||||||
pkgs.gruvbox-gtk-theme
|
pkgs.gruvbox-gtk-theme
|
||||||
# # Adds the 'hello' command to your environment. It prints a friendly
|
# # Adds the 'hello' command to your environment. It prints a friendly
|
||||||
|
|||||||
@@ -145,8 +145,8 @@ in
|
|||||||
"Ctrl+$mod, 6, exec, custom-killall"
|
"Ctrl+$mod, 6, exec, custom-killall"
|
||||||
# reloads the autostart programs
|
# reloads the autostart programs
|
||||||
"Ctrl+$mod, 4, exec, sleep 3 && kitty -o font_size=16 -e sh -c 'custom-weather'"
|
"Ctrl+$mod, 4, exec, sleep 3 && kitty -o font_size=16 -e sh -c 'custom-weather'"
|
||||||
"Ctrl+$mod, 4, exec, sleep 2 && kitty -o font_size=8 -e sh -c 'custom-cowsay'"
|
"Ctrl+$mod, 4, exec, sleep 2 && kitty -o font_size=11 -e sh -c 'custom-cowsay'"
|
||||||
"Ctrl+$mod, 4, exec, kitty -e 'sleep 2 & clear & fastfetch'"
|
"Ctrl+$mod, 4, exec, kitty -e 'custom-launch'"
|
||||||
"Ctrl+$mod, 4, exec, sleep 1 && kitty -o font_size=5 -e btm --theme gruvbox --disable-click --disable_advanced_kill --enable_cache_memory -g -R -T "
|
"Ctrl+$mod, 4, exec, sleep 1 && kitty -o font_size=5 -e btm --theme gruvbox --disable-click --disable_advanced_kill --enable_cache_memory -g -R -T "
|
||||||
"Ctrl+$mod, 4, exec, sleep 3 && kitty -o font_size=1 -e sh -c 'cmatrix -br'"
|
"Ctrl+$mod, 4, exec, sleep 3 && kitty -o font_size=1 -e sh -c 'cmatrix -br'"
|
||||||
#plugins keybindings
|
#plugins keybindings
|
||||||
@@ -203,9 +203,9 @@ in
|
|||||||
#######################
|
#######################
|
||||||
"[workspace 1 silent] sleep 3 && kitty -o font_size=16 -e sh -c 'custom-weather'"
|
"[workspace 1 silent] sleep 3 && kitty -o font_size=16 -e sh -c 'custom-weather'"
|
||||||
# will launch weather (Third) with a reduced font size
|
# will launch weather (Third) with a reduced font size
|
||||||
"[workspace 1 silent] sleep 2 && kitty -o font_size=8 -e sh -c 'custom-cowsay'"
|
"[workspace 1 silent] sleep 2 && kitty -o font_size=11§ -e sh -c 'custom-cowsay'"
|
||||||
# will launch quotes (fourth)
|
# will launch quotes (fourth)
|
||||||
"[workspace 1 silent] kitty - e 'sleep 2 & clear & fastfetch'"
|
"[workspace 1 silent] kitty -e 'custom-launch'"
|
||||||
# the terminal will exec .zshrc so FastFetch will be launched (First)
|
# the terminal will exec .zshrc so FastFetch will be launched (First)
|
||||||
"[workspace 1 silent] sleep 1 && kitty -o font_size=5 -e btm --theme gruvbox --disable-click --disable_advanced_kill --enable_cache_memory -g -R -T "
|
"[workspace 1 silent] sleep 1 && kitty -o font_size=5 -e btm --theme gruvbox --disable-click --disable_advanced_kill --enable_cache_memory -g -R -T "
|
||||||
# will launch bottom (second)
|
# will launch bottom (second)
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
# used for the terminal autostart. Needs to get cleared and recall fastfetch so that the bar from oh-my-zsh get resized
|
||||||
|
|
||||||
|
{ writeShellApplication, zsh, ... }:
|
||||||
|
|
||||||
|
writeShellApplication {
|
||||||
|
name = "custom-launch";
|
||||||
|
runtimeInputs = [
|
||||||
|
zsh
|
||||||
|
];
|
||||||
|
text = ''
|
||||||
|
sleep 2
|
||||||
|
clear
|
||||||
|
zsh
|
||||||
|
'';
|
||||||
|
}
|
||||||
@@ -6,6 +6,9 @@ writeShellApplication {
|
|||||||
curl
|
curl
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
while true; do curl "https://wttr.in/Prangins?0&d&q&F&lang=fr"; sleep 7200; done
|
while true; do
|
||||||
|
curl "https://wttr.in/?0&d&q&F&lang=fr"
|
||||||
|
sleep 7200
|
||||||
|
done
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user