mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-21 01:34:34 +05:30
delete emmet and sshkey
This commit is contained in:
parent
c379bb21cc
commit
11cb5f546a
|
@ -11,7 +11,7 @@ fi
|
||||||
nix-shell -p git --command "git clone https://github.com/ponymushama/nixos-config.git $SCRIPT_DIR"
|
nix-shell -p git --command "git clone https://github.com/ponymushama/nixos-config.git $SCRIPT_DIR"
|
||||||
|
|
||||||
# Generate hardware config for new system
|
# 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
|
# Check if uefi or bios
|
||||||
if [ -d /sys/firmware/efi/efivars ]; then
|
if [ -d /sys/firmware/efi/efivars ]; then
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [ ./base.nix
|
imports = [ ./base.nix
|
||||||
( import ../../system/security/sshd.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; })
|
inherit userSettings; })
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
imports = [ ../homelab/base.nix
|
imports = [ ../homelab/base.nix
|
||||||
( import ../../system/security/sshd.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; })
|
inherit userSettings; })
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -654,7 +654,7 @@ If the path from LINK does not exist, nil is returned."
|
||||||
|
|
||||||
(require 'crdt)
|
(require 'crdt)
|
||||||
(setq crdt-default-tls nil)
|
(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"))
|
(if (file-exists-p "~/.emacs.d/crdt-private.el") (load! "~/.emacs.d/crdt-private.el"))
|
||||||
(defun crdt-connect-default ()
|
(defun crdt-connect-default ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
|
@ -787,7 +787,7 @@ exit
|
||||||
#+begin_src emacs-lisp :tangle config.el
|
#+begin_src emacs-lisp :tangle config.el
|
||||||
(require 'crdt)
|
(require 'crdt)
|
||||||
(setq crdt-default-tls nil)
|
(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"))
|
(if (file-exists-p "~/.emacs.d/crdt-private.el") (load! "~/.emacs.d/crdt-private.el"))
|
||||||
(defun crdt-connect-default ()
|
(defun crdt-connect-default ()
|
||||||
(interactive)
|
(interactive)
|
||||||
|
|
|
@ -651,7 +651,7 @@ in
|
||||||
# doesn't work yet
|
# doesn't work yet
|
||||||
image {
|
image {
|
||||||
monitor =
|
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
|
size = 150 # lesser side if not 1:1 ratio
|
||||||
rounding = -1 # negative values mean circle
|
rounding = -1 # negative values mean circle
|
||||||
border_size = 0
|
border_size = 0
|
||||||
|
@ -695,7 +695,7 @@ in
|
||||||
|
|
||||||
label {
|
label {
|
||||||
monitor =
|
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+'')
|
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_size = 25
|
||||||
font_family = ''+userSettings.font+''
|
font_family = ''+userSettings.font+''
|
||||||
|
|
|
@ -39,13 +39,13 @@ Config { font = "Inconsolata 16"
|
||||||
, Run DynNetwork
|
, Run DynNetwork
|
||||||
[ "-t", "<fc=#{{base0D-hex}}><fn=1>\xf0200</fn> <dev></fc>"] 1
|
[ "-t", "<fc=#{{base0D-hex}}><fn=1>\xf0200</fn> <dev></fc>"] 1
|
||||||
, Run Com "cat"
|
, Run Com "cat"
|
||||||
[ "/home/emmet/.st-status"] "syncthing" 10
|
[ "/home/ama/.st-status"] "syncthing" 10
|
||||||
, Run Com "echo"
|
, Run Com "echo"
|
||||||
[ "<fn=1>\xea77</fn> "] "syncthingsymbol" 0
|
[ "<fn=1>\xea77</fn> "] "syncthingsymbol" 0
|
||||||
, Run Com "echo"
|
, Run Com "echo"
|
||||||
[ "<fn=1>\xeb5c</fn> "] "artsymbol" 0
|
[ "<fn=1>\xeb5c</fn> "] "artsymbol" 0
|
||||||
, Run Com "cat"
|
, Run Com "cat"
|
||||||
[ "/home/emmet/.currenttheme"] "currenttheme" 0
|
[ "/home/ama/.currenttheme"] "currenttheme" 0
|
||||||
, Run Memory [ "-t", "<fc=#{{base08-hex}}><fn=1>\xf035b</fn> <usedratio>% (<used> GB)</fc>", "-d", "1", "--", "--scale", "1024"] 20
|
, Run Memory [ "-t", "<fc=#{{base08-hex}}><fn=1>\xf035b</fn> <usedratio>% (<used> GB)</fc>", "-d", "1", "--", "--scale", "1024"] 20
|
||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
|
|
|
@ -749,13 +749,13 @@ Config { font = "Inconsolata 16"
|
||||||
, Run DynNetwork
|
, Run DynNetwork
|
||||||
[ "-t", "<fc=#{{base0D-hex}}><fn=1>\xf0200</fn> <dev></fc>"] 1
|
[ "-t", "<fc=#{{base0D-hex}}><fn=1>\xf0200</fn> <dev></fc>"] 1
|
||||||
, Run Com "cat"
|
, Run Com "cat"
|
||||||
[ "/home/emmet/.st-status"] "syncthing" 10
|
[ "/home/ama/.st-status"] "syncthing" 10
|
||||||
, Run Com "echo"
|
, Run Com "echo"
|
||||||
[ "<fn=1>\xea77</fn> "] "syncthingsymbol" 0
|
[ "<fn=1>\xea77</fn> "] "syncthingsymbol" 0
|
||||||
, Run Com "echo"
|
, Run Com "echo"
|
||||||
[ "<fn=1>\xeb5c</fn> "] "artsymbol" 0
|
[ "<fn=1>\xeb5c</fn> "] "artsymbol" 0
|
||||||
, Run Com "cat"
|
, Run Com "cat"
|
||||||
[ "/home/emmet/.currenttheme"] "currenttheme" 0
|
[ "/home/ama/.currenttheme"] "currenttheme" 0
|
||||||
, Run Memory [ "-t", "<fc=#{{base08-hex}}><fn=1>\xf035b</fn> <usedratio>% (<used> GB)</fc>", "-d", "1", "--", "--scale", "1024"] 20
|
, Run Memory [ "-t", "<fc=#{{base08-hex}}><fn=1>\xf035b</fn> <usedratio>% (<used> GB)</fc>", "-d", "1", "--", "--scale", "1024"] 20
|
||||||
]
|
]
|
||||||
, sepChar = "%"
|
, sepChar = "%"
|
||||||
|
|
Loading…
Reference in a new issue