ayaya
This commit is contained in:
parent
eb77f57af7
commit
fa4c14e5e9
|
@ -4,8 +4,8 @@ if [[ -n $SSH_CONNECTION ]] ; then
|
|||
curl \
|
||||
-H "Title: Test" \
|
||||
-H "Priority: high" \
|
||||
-H "Tags: warning" \
|
||||
-d "$(cat /etc/hostname ): ssh session" \
|
||||
-H "Tags: urgent" \
|
||||
-d "$(cat /etc/hostname ): ssh session ($SSH_CONNECTION)" \
|
||||
ntfy.sh/tasiaiso_alerts &> /dev/null
|
||||
fi
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
users.users.user = {
|
||||
isNormalUser = true;
|
||||
description = "User";
|
||||
extraGroups = ["networkmanager" "wheel" "syncthing" "tss"];
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"syncthing"
|
||||
];
|
||||
initialPassword = "password123";
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,13 @@
|
|||
users.users.user = {
|
||||
isNormalUser = true;
|
||||
description = "User";
|
||||
extraGroups = ["networkmanager" "wheel" "syncthing" "tss"];
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"syncthing"
|
||||
"tss"
|
||||
"dialout"
|
||||
];
|
||||
initialPassword = "password123";
|
||||
};
|
||||
|
||||
|
|
|
@ -2,7 +2,13 @@
|
|||
users.users.tasia = {
|
||||
isNormalUser = true;
|
||||
description = "User";
|
||||
extraGroups = ["networkmanager" "wheel" "syncthing" "tss"];
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"syncthing"
|
||||
"tss"
|
||||
"dialout"
|
||||
];
|
||||
initialPassword = "password123";
|
||||
};
|
||||
|
||||
|
|
29
home/user/home.nix
Normal file
29
home/user/home.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{pkgs, ...}: {
|
||||
users.users.user = {
|
||||
isNormalUser = true;
|
||||
description = "User";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"syncthing"
|
||||
"tss"
|
||||
"dialout"
|
||||
];
|
||||
initialPassword = "password123";
|
||||
};
|
||||
|
||||
home-manager.users.user = {pkgs, ...}: {
|
||||
home.file = {
|
||||
".zshrc".source = ../../dotfiles/.zshrc;
|
||||
".bashrc".source = ../../dotfiles/.bashrc;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
#
|
||||
];
|
||||
|
||||
# The state version is required and should stay at the version you
|
||||
# originally installed.
|
||||
home.stateVersion = "24.05";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue