mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
feat: init
This commit is contained in:
commit
96c6f790fc
804 changed files with 33411 additions and 0 deletions
64
profiles/user1/default.nix
Executable file
64
profiles/user1/default.nix
Executable file
|
@ -0,0 +1,64 @@
|
|||
{
|
||||
config,
|
||||
flake,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (flake) self;
|
||||
inherit (flake.config.people) user1;
|
||||
inherit (flake.config.machines) devices;
|
||||
inherit (flake.config.people.users.${user1}) name;
|
||||
hostname = config.networking.hostName;
|
||||
in
|
||||
{
|
||||
users = {
|
||||
users.${user1} = {
|
||||
description = name;
|
||||
name = user1;
|
||||
isNormalUser = true;
|
||||
shell = pkgs.nushell;
|
||||
extraGroups = [
|
||||
"libvirtd"
|
||||
"disk"
|
||||
"networkmanager"
|
||||
"vboxusers"
|
||||
"wheel"
|
||||
"adbusers"
|
||||
"netdev"
|
||||
];
|
||||
};
|
||||
};
|
||||
home-manager.users = {
|
||||
${user1} = {
|
||||
home = {
|
||||
username = user1;
|
||||
homeDirectory = "/home/${user1}";
|
||||
file = {
|
||||
"./justfile" = {
|
||||
source = ./files/justfile;
|
||||
};
|
||||
"./.config/scripts/get_weather.sh" = {
|
||||
source = ./files/get_weather.sh;
|
||||
executable = true;
|
||||
};
|
||||
".config/wallpaper" = {
|
||||
source = ./files/wallpaper;
|
||||
recursive = true;
|
||||
};
|
||||
};
|
||||
sessionVariables = { };
|
||||
};
|
||||
imports = [
|
||||
{
|
||||
home.stateVersion = config.system.stateVersion;
|
||||
}
|
||||
{
|
||||
imports = [
|
||||
self.homeModules."${devices.${hostname}.name}-${user1}"
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
19
profiles/user1/files/get_weather.sh
Executable file
19
profiles/user1/files/get_weather.sh
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
for i in {1..5}
|
||||
do
|
||||
text=$(curl -s "https://wttr.in/$1?format=1")
|
||||
if [[ $? == 0 ]]
|
||||
then
|
||||
text=$(echo "$text" | sed -E "s/\s+/ /g")
|
||||
tooltip=$(curl -s "https://wttr.in/$1?format=4")
|
||||
if [[ $? == 0 ]]
|
||||
then
|
||||
tooltip=$(echo "$tooltip" | sed -E "s/\s+/ /g")
|
||||
echo "{\"text\":\"$text\", \"tooltip\":\"$tooltip\"}"
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
sleep 2
|
||||
done
|
||||
echo "{\"text\":\"error\", \"tooltip\":\"error\"}"
|
14
profiles/user1/files/justfile
Executable file
14
profiles/user1/files/justfile
Executable file
|
@ -0,0 +1,14 @@
|
|||
ewwEdit:
|
||||
eww --config /home/nick/dotfiles/home-manager/modules/eww/config/ open centerPanel
|
||||
|
||||
ewwLaunch:
|
||||
./home/nick/dotfiles/home-manager/modules/eww/config/scripts/master.sh
|
||||
|
||||
gobrrr:
|
||||
home-manager switch --flake ~/dotfiles#desktop
|
||||
|
||||
gobrrrl:
|
||||
nixos-rebuild switch --use-remote-sudo --flake /home/nick/dotfiles#desktop
|
||||
|
||||
fuckoff:
|
||||
shutdown now
|
BIN
profiles/user1/files/wallpaper/0v1YQLSg6MTHNJwDdky4Igcc6nTTbMctPS8DhT_iGww.webp
Executable file
BIN
profiles/user1/files/wallpaper/0v1YQLSg6MTHNJwDdky4Igcc6nTTbMctPS8DhT_iGww.webp
Executable file
Binary file not shown.
After Width: | Height: | Size: 416 KiB |
BIN
profiles/user1/files/wallpaper/9402963.jpg
Executable file
BIN
profiles/user1/files/wallpaper/9402963.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 172 KiB |
BIN
profiles/user1/files/wallpaper/f.jpg
Executable file
BIN
profiles/user1/files/wallpaper/f.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 200 KiB |
BIN
profiles/user1/files/wallpaper/murder-drones-action-scene-2hplnpxoeolfor3a.jpg
Executable file
BIN
profiles/user1/files/wallpaper/murder-drones-action-scene-2hplnpxoeolfor3a.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 112 KiB |
BIN
profiles/user1/files/wallpaper/murder-drones-wallpapers-8.jpg
Executable file
BIN
profiles/user1/files/wallpaper/murder-drones-wallpapers-8.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 314 KiB |
Loading…
Add table
Add a link
Reference in a new issue