diff --git a/dotfiles/.zshrc b/dotfiles/.zshrc index 8fadcde..2774085 100644 --- a/dotfiles/.zshrc +++ b/dotfiles/.zshrc @@ -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 diff --git a/home/46d1/home.nix b/home/46d1/home.nix index 1903ffd..58deda6 100644 --- a/home/46d1/home.nix +++ b/home/46d1/home.nix @@ -2,7 +2,11 @@ users.users.user = { isNormalUser = true; description = "User"; - extraGroups = ["networkmanager" "wheel" "syncthing" "tss"]; + extraGroups = [ + "networkmanager" + "wheel" + "syncthing" + ]; initialPassword = "password123"; }; diff --git a/home/tasia-but-old-username/home.nix b/home/tasia-but-old-username/home.nix index 4156f37..bb2cc99 100644 --- a/home/tasia-but-old-username/home.nix +++ b/home/tasia-but-old-username/home.nix @@ -2,7 +2,13 @@ users.users.user = { isNormalUser = true; description = "User"; - extraGroups = ["networkmanager" "wheel" "syncthing" "tss"]; + extraGroups = [ + "networkmanager" + "wheel" + "syncthing" + "tss" + "dialout" + ]; initialPassword = "password123"; }; diff --git a/home/tasia/home.nix b/home/tasia/home.nix index 767adbe..afd1180 100644 --- a/home/tasia/home.nix +++ b/home/tasia/home.nix @@ -2,7 +2,13 @@ users.users.tasia = { isNormalUser = true; description = "User"; - extraGroups = ["networkmanager" "wheel" "syncthing" "tss"]; + extraGroups = [ + "networkmanager" + "wheel" + "syncthing" + "tss" + "dialout" + ]; initialPassword = "password123"; }; diff --git a/home/user/home.nix b/home/user/home.nix new file mode 100644 index 0000000..459c03b --- /dev/null +++ b/home/user/home.nix @@ -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"; + }; +}