This commit is contained in:
Tao Tien 2024-03-29 12:51:49 -07:00
parent a85f11e974
commit cad62788ce
6 changed files with 36 additions and 22 deletions

18
flake.lock generated
View file

@ -104,11 +104,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1711723484, "lastModified": 1711828815,
"narHash": "sha256-lRF/0zfF4jwsUvJAbl7D4pQRxpqrTCJaEMZ7DvPOw60=", "narHash": "sha256-KcmXrdxyk7vJ+KCSzbgBCJq0XnUVZ+3JU0kJJbMkruk=",
"owner": "the-mikedavis", "owner": "the-mikedavis",
"repo": "helix", "repo": "helix",
"rev": "22e2d20ac058efb86c4ca35a6d221f92eedc8f3b", "rev": "b0a133eeacec44cfd03b8f00502e107fe144c988",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -189,11 +189,11 @@
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1711764865, "lastModified": 1711816545,
"narHash": "sha256-Np6mPZUAt9Ecx+8lv6juER5zUcpmRuGRxdEFgeBlWfA=", "narHash": "sha256-E3N3N0uEQmzaWbBRdVaZq5sA5t2w2uWBn8G0AV4PFOk=",
"owner": "martinvonz", "owner": "martinvonz",
"repo": "jj", "repo": "jj",
"rev": "08b5b66ad41146491339efff5670cba4a81e56f4", "rev": "bbe906b426472e4e8278674da36c2d3b3145b0ef",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -276,11 +276,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1711748679, "lastModified": 1711799416,
"narHash": "sha256-qaxqvAl4ngnTxXUX2P9ij/+bsCQaXtNcejziO6s0yY4=", "narHash": "sha256-BM3aduxJjvSL0jTYG1ixWDhBvIWuouycvprKQYP0FnM=",
"owner": "pjones", "owner": "pjones",
"repo": "plasma-manager", "repo": "plasma-manager",
"rev": "fb4a1cdd4e54d4a5fa4d9eddae052cb60844c104", "rev": "25b222a95a764bb76b7082746e8a1115c46ae2d8",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -104,6 +104,7 @@
./systems/BASED.nix ./systems/BASED.nix
./systems/NOmom.nix ./systems/NOmom.nix
./users/tao.nix ./users/tao.nix
./users/vy.nix
./extras/uwuraid.nix ./extras/uwuraid.nix
./extras/dev.nix ./extras/dev.nix
./extras/gaming.nix ./extras/gaming.nix

View file

@ -43,6 +43,18 @@ 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.xserver.displayManager.defaultSession = "plasma"; services.xserver.displayManager.defaultSession = "plasma";
services.xserver.displayManager.sddm.wayland.enable = true; services.xserver.displayManager.sddm.wayland.enable = true;

View file

@ -26,6 +26,18 @@
# extraBackends = [ pkgs.epkowa ]; # extraBackends = [ pkgs.epkowa ];
# }; # };
services.snapper.configs = {
home = {
SUBVOLUME = "/home";
ALLOW_USERS = ["vy" "tao"];
TIMELINE_CREATE = true;
TIMELINE_CLEANUP = true;
TIMELINE_LIMIT_HOURLY = "5";
TIMELINE_LIMIT_DAILY = "7";
};
};
services.snapper.snapshotInterval = "*:0/5";
services.udev.extraRules = '' services.udev.extraRules = ''
# Ethernet expansion card # Ethernet expansion card
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20" ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="0bda", ATTR{idProduct}=="8156", ATTR{power/autosuspend}="20"

View file

@ -107,18 +107,6 @@
}; };
}; };
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"

View file

@ -9,6 +9,7 @@
yt-dlp yt-dlp
zoom-us zoom-us
]; ];
programs.kdeconnect.enable = true;
fonts.packages = with pkgs; [ fonts.packages = with pkgs; [
noto-fonts-cjk noto-fonts-cjk
@ -17,6 +18,6 @@
users.users.vy = { users.users.vy = {
isNormalUser = true; isNormalUser = true;
extraGroups = ["audio" "video"]; extraGroups = ["wheel" "audio" "video"];
}; };
} }