Compare commits
2 commits
71c8ab1178
...
cb85a7b1c1
Author | SHA1 | Date | |
---|---|---|---|
cb85a7b1c1 | |||
85ca624a2c |
2 changed files with 57 additions and 3 deletions
|
@ -50,6 +50,7 @@
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
|
programs.dconf.enable = true;
|
||||||
# Enable the KDE Plasma Desktop Environment.
|
# Enable the KDE Plasma Desktop Environment.
|
||||||
services.displayManager.sddm.enable = false;
|
services.displayManager.sddm.enable = false;
|
||||||
services.xserver.desktopManager.plasma5.enable = false;
|
services.xserver.desktopManager.plasma5.enable = false;
|
||||||
|
@ -303,8 +304,6 @@
|
||||||
systemd.user.services.waybar.enable = false;
|
systemd.user.services.waybar.enable = false;
|
||||||
xdg.portal.wlr.settings = {
|
xdg.portal.wlr.settings = {
|
||||||
screencast = {
|
screencast = {
|
||||||
output_name = "HDMI-A-1";
|
|
||||||
max_fps = 30;
|
|
||||||
chooser_type = "simple";
|
chooser_type = "simple";
|
||||||
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
|
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ inputs, config, lib, pkgs, ... }:
|
{ inputs, config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
networking.hostName = "insertlaptop";
|
networking.hostName = "insertlaptop";
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.acpi
|
pkgs.acpi
|
||||||
|
@ -11,6 +11,61 @@
|
||||||
hardware.bluetooth.enable = true;
|
hardware.bluetooth.enable = true;
|
||||||
hardware.bluetooth.powerOnBoot = true;
|
hardware.bluetooth.powerOnBoot = true;
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
||||||
|
services.borgbackup.jobs.insertlaptop = {
|
||||||
|
paths = "/home/insert";
|
||||||
|
encryption.mode = "repokey-blake2";
|
||||||
|
encryption.passCommand = "cat ${config.age.secrets.borg.path}";
|
||||||
|
compression = "auto,zstd";
|
||||||
|
prune.keep = {
|
||||||
|
daily = 10;
|
||||||
|
weekly = 4;
|
||||||
|
monthly = 2;
|
||||||
|
yearly = 1;
|
||||||
|
};
|
||||||
|
readWritePaths = [ "/mnt/NAS-backup/insertlaptop-insert" ];
|
||||||
|
repo = "/mnt/NAS-backup/insertlaptop-insert";
|
||||||
|
user = "insert";
|
||||||
|
startAt = "daily";
|
||||||
|
doInit = true;
|
||||||
|
exclude = [
|
||||||
|
"^data.img$"
|
||||||
|
"^.Trash-100$"
|
||||||
|
"*/node.repl_history"
|
||||||
|
"*/.oldprofile"
|
||||||
|
"*/.steampath"
|
||||||
|
"*/mnt"
|
||||||
|
"*/.steampid"
|
||||||
|
"*/.zshenv"
|
||||||
|
"*/.zshrc"
|
||||||
|
"*/.android"
|
||||||
|
"*/.compose-cache"
|
||||||
|
"*/.docker"
|
||||||
|
"*/.gradle"
|
||||||
|
"*/.hyprland"
|
||||||
|
"*/.java"
|
||||||
|
"*/.kube"
|
||||||
|
"*/.minecraft-bta"
|
||||||
|
"*/.mozilla"
|
||||||
|
"*/.pki"
|
||||||
|
"*/.nix-defexpr"
|
||||||
|
"*/.nix-profile"
|
||||||
|
"*/.nv"
|
||||||
|
"*/.thunderbird"
|
||||||
|
"*/.zsh"
|
||||||
|
"*/Downloads"
|
||||||
|
"*/.cache"
|
||||||
|
"*/.var/app/*/cache"
|
||||||
|
"*/.local/share/flatpak/repo/"
|
||||||
|
"*/.local/share/Trash"
|
||||||
|
"*/.local/share/libvirt"
|
||||||
|
"*/.local/share/containers"
|
||||||
|
"*/.local/share/flatpak/overrides"
|
||||||
|
"*/.var/app/*/config/cache"
|
||||||
|
"*/.var/app/*/config"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
home-manager.users.insert.wayland.windowManager.sway.config.modifier = "Mod4";
|
home-manager.users.insert.wayland.windowManager.sway.config.modifier = "Mod4";
|
||||||
home-manager.users.insert.home.file.".config/hypr/hyprland.conf" = {
|
home-manager.users.insert.home.file.".config/hypr/hyprland.conf" = {
|
||||||
text = ''autogenerated = 0 # remove this line to remove the warning
|
text = ''autogenerated = 0 # remove this line to remove the warning
|
||||||
|
|
Loading…
Reference in a new issue