From 11cb5f546ab06e23572cf62c8f88b16bf59facc0 Mon Sep 17 00:00:00 2001 From: ponymushama Date: Sun, 21 Jul 2024 20:29:55 +0800 Subject: [PATCH] delete emmet and sshkey --- install.sh | 2 +- profiles/homelab/configuration.nix | 2 +- profiles/worklab/configuration.nix | 2 +- user/app/doom-emacs/config.el | 2 +- user/app/doom-emacs/doom.org | 2 +- user/wm/hyprland/hyprland.nix | 4 ++-- user/wm/xmonad/xmobarrc.mustache | 4 ++-- user/wm/xmonad/xmonad.org | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/install.sh b/install.sh index af0eb8b..7ff3951 100755 --- a/install.sh +++ b/install.sh @@ -11,7 +11,7 @@ fi nix-shell -p git --command "git clone https://github.com/ponymushama/nixos-config.git $SCRIPT_DIR" # Generate hardware config for new system -sudo nixos-generate-config --show-hardware-config > $SCRIPT_DIR/system/hardware-configuration.nix +sudo nixos-generate-config --show-hardware-config >$SCRIPT_DIR/system/hardware-configuration.nix # Check if uefi or bios if [ -d /sys/firmware/efi/efivars ]; then diff --git a/profiles/homelab/configuration.nix b/profiles/homelab/configuration.nix index f589ee8..b7583ec 100644 --- a/profiles/homelab/configuration.nix +++ b/profiles/homelab/configuration.nix @@ -3,7 +3,7 @@ { imports = [ ./base.nix ( import ../../system/security/sshd.nix { - authorizedKeys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDaeejVJwUVrIZSo1isbu+gkQ7+8ftCgCsczy3OclkEVWHyRTqlG6yp74hr3j8ZNsOhov7c2Q6RqC8oy669hlxi/y9BsvtlI7sBr94oAKFOmkCS4RiK72ngJjBvI0vbk89wQQjmAd3r8B7ZcedpNOC8CkHu8SebKdYPRIUvAbPc3fTEt7DsJkazAepZCB8LEhUp57FAqQ/Ezlt3X/1uwNq5S0EbE9Zm+nUpEfSqR9apY2neKWLyGiCxpK3dzyNOuulCxvtVz+ie2sTk/6SxM+qWEoVVxhdwyxPihEjgC0EvtG0S5mVh5JmcjRkJOzzBHJuw+6r8yWn/AxGdIsoJ4rKNxH1XH1iLHgCraOLOUjUNlmejTcQPu6o92a79fdz2gCHT/BuIjfCW7MErAC3YSmF45TSur/kiWCBaTqYo06pgbQ3w1vKg7fievQlQzsutmg47RvJp6fb74yxuOdVg39cShQu/l8r6zqm21JAeUaaIp4P/0MrAIMOOVUhbK0QgsNElO4yn0ZKH8wGIF8xORh7ikxUIAyq8C41gjJiO2sAFJc3M8DhduQU3X0lHB7U0Qyu+8ZXn05+zdFPXJ73LKc7DCcLkppRXJsdHLSDEFdWqFnV7o08B4qZkPMT4pmvhwhY0Pf1fwavOqxuTstzw18gUGyQzl0foQi0Qrmdazsp2Qw== emmet@snowfire"]; + authorizedKeys = []; inherit userSettings; }) ]; } diff --git a/profiles/worklab/configuration.nix b/profiles/worklab/configuration.nix index 91b5179..5634572 100644 --- a/profiles/worklab/configuration.nix +++ b/profiles/worklab/configuration.nix @@ -3,7 +3,7 @@ { imports = [ ../homelab/base.nix ( import ../../system/security/sshd.nix { - authorizedKeys = [ "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDBW6X3nd54sLK5UOvkyxBZ0dC57+xXKsAkr6XyP3k64gsFNahIYZGyZ+E9DdGIP1SZPDkwlcnGfFTPo/dPq5QjxtBmAOd/q4hIb5mqojNfOwqZQVwHjzLYSiGBaMVe4XAGCoNxTwXTimVU8wtyvlmBJzuOLmxZq9tRBpN3g+PT5HT1S9mrrQ4l5Y+2CNTwfga6/+/H1g4hpYG6H9qdIWOrel1hWvGUH3A1d/5mJIx3GkOAl7WBReQNbwlTm/8mkIcNBMtp3JQg5yuTQ6dLGwMOspMB5sGSCnaDx6CrelQglRihxkunW9ktA2MYaIn3l5fNwaHilW63d0sb9Y/Rr/bFKybmGYVY4PR9+tQg4D4YqofkSfRKmB98dtxUZg4yduXjxCYrhDTDseCjXACncItdD9TmxabaBQtWiWIGmX3bhx31SoctwdpS+mzbB5WVIVb/Fo/cOvPj6ugB5ZQf2uH+U5nsGVYsSsNGS1zVDybeILr1z2ne2AcaqwB5Z7iz/E0=" ]; + authorizedKeys = []; inherit userSettings; }) ]; } diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index 2b40c02..1a03420 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -654,7 +654,7 @@ If the path from LINK does not exist, nil is returned." (require 'crdt) (setq crdt-default-tls nil) -(setq crdt-default-name "Emmet") +(setq crdt-default-name "ama") (if (file-exists-p "~/.emacs.d/crdt-private.el") (load! "~/.emacs.d/crdt-private.el")) (defun crdt-connect-default () (interactive) diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index 8a6172b..682003e 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -787,7 +787,7 @@ exit #+begin_src emacs-lisp :tangle config.el (require 'crdt) (setq crdt-default-tls nil) -(setq crdt-default-name "Emmet") +(setq crdt-default-name "ama") (if (file-exists-p "~/.emacs.d/crdt-private.el") (load! "~/.emacs.d/crdt-private.el")) (defun crdt-connect-default () (interactive) diff --git a/user/wm/hyprland/hyprland.nix b/user/wm/hyprland/hyprland.nix index 232a5a2..623d6ce 100644 --- a/user/wm/hyprland/hyprland.nix +++ b/user/wm/hyprland/hyprland.nix @@ -651,7 +651,7 @@ in # doesn't work yet image { monitor = - path = /home/emmet/.dotfiles/user/wm/hyprland/nix-dark.png + path = /home/ama/.dotfiles/user/wm/hyprland/nix-dark.png size = 150 # lesser side if not 1:1 ratio rounding = -1 # negative values mean circle border_size = 0 @@ -695,7 +695,7 @@ in label { monitor = - text = Hello, Emmet + text = Hello, AMA color = rgb(''+config.lib.stylix.colors.base07-rgb-r+'',''+config.lib.stylix.colors.base07-rgb-g+'', ''+config.lib.stylix.colors.base07-rgb-b+'') font_size = 25 font_family = ''+userSettings.font+'' diff --git a/user/wm/xmonad/xmobarrc.mustache b/user/wm/xmonad/xmobarrc.mustache index 0d9dcba..65cd7ac 100644 --- a/user/wm/xmonad/xmobarrc.mustache +++ b/user/wm/xmonad/xmobarrc.mustache @@ -39,13 +39,13 @@ Config { font = "Inconsolata 16" , Run DynNetwork [ "-t", "\xf0200 "] 1 , Run Com "cat" - [ "/home/emmet/.st-status"] "syncthing" 10 + [ "/home/ama/.st-status"] "syncthing" 10 , Run Com "echo" [ "\xea77 "] "syncthingsymbol" 0 , Run Com "echo" [ "\xeb5c "] "artsymbol" 0 , Run Com "cat" - [ "/home/emmet/.currenttheme"] "currenttheme" 0 + [ "/home/ama/.currenttheme"] "currenttheme" 0 , Run Memory [ "-t", "\xf035b % ( GB)", "-d", "1", "--", "--scale", "1024"] 20 ] , sepChar = "%" diff --git a/user/wm/xmonad/xmonad.org b/user/wm/xmonad/xmonad.org index 676f055..485eca0 100644 --- a/user/wm/xmonad/xmonad.org +++ b/user/wm/xmonad/xmonad.org @@ -749,13 +749,13 @@ Config { font = "Inconsolata 16" , Run DynNetwork [ "-t", "\xf0200 "] 1 , Run Com "cat" - [ "/home/emmet/.st-status"] "syncthing" 10 + [ "/home/ama/.st-status"] "syncthing" 10 , Run Com "echo" [ "\xea77 "] "syncthingsymbol" 0 , Run Com "echo" [ "\xeb5c "] "artsymbol" 0 , Run Com "cat" - [ "/home/emmet/.currenttheme"] "currenttheme" 0 + [ "/home/ama/.currenttheme"] "currenttheme" 0 , Run Memory [ "-t", "\xf035b % ( GB)", "-d", "1", "--", "--scale", "1024"] 20 ] , sepChar = "%"