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