helix arduino nushell snapper
This commit is contained in:
parent
8da10747bf
commit
333fc943df
6 changed files with 32 additions and 20 deletions
|
|
@ -6,7 +6,6 @@
|
||||||
# foldingathome
|
# foldingathome
|
||||||
gwe
|
gwe
|
||||||
openrgb
|
openrgb
|
||||||
snapper
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services.tailscale.useRoutingFeatures = "both";
|
services.tailscale.useRoutingFeatures = "both";
|
||||||
|
|
|
||||||
|
|
@ -39,18 +39,6 @@ MatchName=Framework Laptop 16 Keyboard Module*
|
||||||
AttrKeyboardIntegration=internal";
|
AttrKeyboardIntegration=internal";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.snapper.configs = {
|
|
||||||
home = {
|
|
||||||
SUBVOLUME = "/home";
|
|
||||||
ALLOW_USERS = ["tao"];
|
|
||||||
TIMELINE_CREATE = true;
|
|
||||||
TIMELINE_CLEANUP = true;
|
|
||||||
TIMELINE_LIMIT_HOURLY = "5";
|
|
||||||
TIMELINE_LIMIT_DAILY = "7";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
services.snapper.snapshotInterval = "*:0/5";
|
|
||||||
|
|
||||||
services.displayManager.defaultSession = "plasma";
|
services.displayManager.defaultSession = "plasma";
|
||||||
|
|
||||||
nix.buildMachines = [
|
nix.buildMachines = [
|
||||||
|
|
|
||||||
|
|
@ -115,6 +115,18 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.snapper.configs = {
|
||||||
|
home = {
|
||||||
|
SUBVOLUME = "/home";
|
||||||
|
ALLOW_USERS = ["tao"];
|
||||||
|
TIMELINE_CREATE = true;
|
||||||
|
TIMELINE_CLEANUP = true;
|
||||||
|
TIMELINE_LIMIT_HOURLY = "5";
|
||||||
|
TIMELINE_LIMIT_DAILY = "7";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.snapper.snapshotInterval = "*:0/5";
|
||||||
|
|
||||||
hardware.keyboard.qmk.enable = true;
|
hardware.keyboard.qmk.enable = true;
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
|
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0660", GROUP="users", TAG+="uaccess", TAG+="udev-acl"
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@
|
||||||
language = [
|
language = [
|
||||||
{
|
{
|
||||||
name = "arduino";
|
name = "arduino";
|
||||||
|
grammar = "arduino";
|
||||||
scope = "source.arduino";
|
scope = "source.arduino";
|
||||||
injection-regex = "arduino";
|
injection-regex = "arduino";
|
||||||
file-types = ["ino" "cpp" "h"];
|
file-types = ["ino" "cpp" "h"];
|
||||||
|
|
@ -67,7 +68,7 @@
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
formatter = {
|
formatter = {
|
||||||
command = "clang-format";
|
command = "clang-format";
|
||||||
args = ["--style=file:/home/tao/Templates/clang-format"];
|
args = ["--style=file:/home/tao/templates/clang-format"];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
|
@ -75,7 +76,7 @@
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
formatter = {
|
formatter = {
|
||||||
command = "clang-format";
|
command = "clang-format";
|
||||||
args = ["--style=file:/home/tao/Templates/clang-format"];
|
args = ["--style=file:/home/tao/templates/clang-format"];
|
||||||
};
|
};
|
||||||
indent = {
|
indent = {
|
||||||
tab-width = 8;
|
tab-width = 8;
|
||||||
|
|
@ -87,7 +88,7 @@
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
formatter = {
|
formatter = {
|
||||||
command = "clang-format";
|
command = "clang-format";
|
||||||
args = ["--style=file:/home/tao/Templates/clang-format"];
|
args = ["--style=file:/home/tao/templates/clang-format"];
|
||||||
};
|
};
|
||||||
indent = {
|
indent = {
|
||||||
tab-width = 8;
|
tab-width = 8;
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ def l [
|
||||||
path?
|
path?
|
||||||
flags?
|
flags?
|
||||||
] {
|
] {
|
||||||
if $path {
|
if $path != null {
|
||||||
ls $path
|
ls $path
|
||||||
} else {
|
} else {
|
||||||
ls
|
ls
|
||||||
|
|
@ -21,7 +21,7 @@ def l [
|
||||||
}
|
}
|
||||||
|
|
||||||
def tse [exit_node?] {
|
def tse [exit_node?] {
|
||||||
if exit_node {
|
if $exit_node != null {
|
||||||
tailscale set --exit-node $exit_node
|
tailscale set --exit-node $exit_node
|
||||||
} else {
|
} else {
|
||||||
tailscale set --exit-node=""
|
tailscale set --exit-node=""
|
||||||
|
|
@ -34,7 +34,7 @@ def rb [] {
|
||||||
}
|
}
|
||||||
|
|
||||||
def rs [] {
|
def rs [] {
|
||||||
sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose
|
sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose
|
||||||
hx --grammar fetch; hx --grammar build
|
hx --grammar fetch; hx --grammar build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
12
users/vy.nix
12
users/vy.nix
|
|
@ -19,6 +19,18 @@
|
||||||
|
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
|
services.snapper.configs = {
|
||||||
|
home = {
|
||||||
|
SUBVOLUME = "/home";
|
||||||
|
ALLOW_USERS = ["vy"];
|
||||||
|
TIMELINE_CREATE = true;
|
||||||
|
TIMELINE_CLEANUP = true;
|
||||||
|
TIMELINE_LIMIT_HOURLY = "5";
|
||||||
|
TIMELINE_LIMIT_DAILY = "7";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
services.snapper.snapshotInterval = "*:0/5";
|
||||||
|
|
||||||
users.users.vy = {
|
users.users.vy = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = ["wheel" "audio" "video"];
|
extraGroups = ["wheel" "audio" "video"];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue