Compare commits
2 commits
a025514ca4
...
f7f4f7c6d8
Author | SHA1 | Date | |
---|---|---|---|
f7f4f7c6d8 | |||
1d3700e58e |
2 changed files with 28 additions and 28 deletions
|
@ -39,7 +39,7 @@ PLUGINS_CONFIG = {
|
|||
"netbox_topology_views": {"allow_coordinates_saving": True},
|
||||
}
|
||||
|
||||
shortcuts = """
|
||||
shortcuts = """\
|
||||
| | |
|
||||
|:---|---:|
|
||||
| [Topology](/plugins/netbox_topology_views/topology/?filter_id=9) | [Racks](/dcim/rack-elevations/) |
|
||||
|
@ -53,26 +53,26 @@ shortcuts = """
|
|||
DEFAULT_DASHBOARD = [
|
||||
{
|
||||
"widget": "extras.NoteWidget",
|
||||
"width": 3,
|
||||
"width": 4,
|
||||
"height": 3,
|
||||
"title": "Shortcuts",
|
||||
"color": "white",
|
||||
"color": "black",
|
||||
"config": {"content": shortcuts},
|
||||
},
|
||||
{
|
||||
"widget": "extras.NoteWidget",
|
||||
"width": 9,
|
||||
"widget": "extras.BookmarksWidget",
|
||||
"width": 8,
|
||||
"height": 3,
|
||||
"title": "TODO",
|
||||
"color": "red",
|
||||
"config": {"content": "Nothing to do (yet)."},
|
||||
"title": "Bookmarks",
|
||||
"color": "black",
|
||||
"config": {"order_by": "name"},
|
||||
},
|
||||
{
|
||||
"widget": "extras.ObjectListWidget",
|
||||
"width": 12,
|
||||
"height": 5,
|
||||
"title": "Journal",
|
||||
"color": "orange",
|
||||
"color": "black",
|
||||
"config": {
|
||||
"model": "extras.journalentry",
|
||||
"page_size": 5,
|
||||
|
|
|
@ -42,10 +42,10 @@ in {
|
|||
"/r" = any "/run";
|
||||
"/rc" = any "/run/current-system";
|
||||
|
||||
reboot = "systemctl reboot";
|
||||
restart = "systemctl reboot";
|
||||
poweroff = "systemctl poweroff";
|
||||
shutdown = "systemctl poweroff";
|
||||
reboot = "sudo systemctl reboot";
|
||||
restart = "sudo systemctl reboot";
|
||||
poweroff = "sudo systemctl poweroff";
|
||||
shutdown = "sudo systemctl poweroff";
|
||||
|
||||
rsync = "rsync --info progress2";
|
||||
|
||||
|
@ -160,21 +160,21 @@ in {
|
|||
nr = "nixos repl";
|
||||
|
||||
sc = "systemctl";
|
||||
scp = "systemctl poweroff";
|
||||
scr = "systemctl reboot";
|
||||
scs = "systemctl --system";
|
||||
scsd = "systemctl --system disable";
|
||||
scsdn = "systemctl --system disable --now";
|
||||
scse = "systemctl --system reenable";
|
||||
scsen = "systemctl --system reenable --now";
|
||||
scsh = "systemctl --system show";
|
||||
scsl = "systemctl --system list-unit-files";
|
||||
scsm = "systemctl --system mask";
|
||||
scsr = "systemctl --system restart";
|
||||
scsrr = "systemctl --system reload-or-restart";
|
||||
scss = "systemctl --system status";
|
||||
scst = "systemctl --system stop";
|
||||
scsu = "systemctl --system unmask";
|
||||
scp = "sudo systemctl poweroff";
|
||||
scr = "sudo systemctl reboot";
|
||||
scs = "sudo systemctl --system";
|
||||
scsd = "sudo systemctl --system disable";
|
||||
scsdn = "sudo systemctl --system disable --now";
|
||||
scse = "sudo systemctl --system reenable";
|
||||
scsen = "sudo systemctl --system reenable --now";
|
||||
scsh = "sudo systemctl --system show";
|
||||
scsl = "sudo systemctl --system list-unit-files";
|
||||
scsm = "sudo systemctl --system mask";
|
||||
scsr = "sudo systemctl --system restart";
|
||||
scsrr = "sudo systemctl --system reload-or-restart";
|
||||
scss = "sudo systemctl --system status";
|
||||
scst = "sudo systemctl --system stop";
|
||||
scsu = "sudo systemctl --system unmask";
|
||||
scu = "systemctl --user";
|
||||
scud = "systemctl --user disable";
|
||||
scudn = "systemctl --user disable --now";
|
||||
|
|
Loading…
Add table
Reference in a new issue