misc updates

This commit is contained in:
mjallen18
2024-05-13 14:56:08 -05:00
parent 09fa42c375
commit 4c1a95d864
5 changed files with 70 additions and 58 deletions

View File

@@ -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" = {

View File

@@ -49,7 +49,7 @@
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/1058-F967";
device = "/dev/disk/by-uuid/216E-A7AC";
fsType = "vfat";
};

View File

@@ -81,7 +81,7 @@
"dash-to-panel@jderose9.github.com"
"tiling-assistant@leleat-on-github"
];
"org/gnome/shell/extensions/dash-to-panel".primary-monitor = 0;
"org/gnome/shell/extensions/dash-to-panel".primary-monitor = 1;
"org/gnome/shell/extensions/dash-to-panel".multi-monitors = false;
"org/gtk/settings/file-chooser".clock-format = "12h";
};