misc updates
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# your system. Help is available in the configuration.nix(5) man page, on
|
||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||
|
||||
{ config, lib, pkgs, ... }:
|
||||
{ config, outputs, lib, pkgs, ... }:
|
||||
let
|
||||
user = "matt";
|
||||
password =
|
||||
@@ -108,6 +108,8 @@ in {
|
||||
"org.libreoffice.LibreOffice"
|
||||
"net.davidotek.pupgui2" # Proton-Up Qt
|
||||
"io.github.prateekmedia.appimagepool"
|
||||
"org.freedesktop.Piper"
|
||||
"com.usebottles.bottles"
|
||||
];
|
||||
};
|
||||
|
||||
@@ -188,20 +190,24 @@ in {
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users."${user}" = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "networkmanager" ]; # Enable ‘sudo’ for the user.
|
||||
extraGroups = [ "wheel" "networkmanager" "ratbagd" ]; # Enable ‘sudo’ for the user.
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
services.borgbackup.jobs.home-matt = {
|
||||
paths = "/home/matt";
|
||||
encryption.mode = "none";
|
||||
# environment.BORG_RSH = "ssh -i /home/matt/.ssh/id_ed25519";
|
||||
repo = "/media/nas/backup/desktop-nix/home";
|
||||
compression = "auto,zstd";
|
||||
exclude = [
|
||||
"/home/matt/Games"
|
||||
"/home/matt/1TB"
|
||||
];
|
||||
services = {
|
||||
borgbackup.jobs.home-matt = {
|
||||
paths = "/home/matt";
|
||||
encryption.mode = "none";
|
||||
# environment.BORG_RSH = "ssh -i /home/matt/.ssh/id_ed25519";
|
||||
repo = "/media/nas/backup/desktop-nix/home";
|
||||
compression = "auto,zstd";
|
||||
exclude = [
|
||||
"/home/matt/Games"
|
||||
"/home/matt/1TB"
|
||||
];
|
||||
};
|
||||
|
||||
ratbagd.enable = true;
|
||||
};
|
||||
|
||||
fileSystems."/media/nas/backup" = {
|
||||
|
||||
Reference in New Issue
Block a user