add backup and syncing software
This commit is contained in:
+70
-23
@@ -1,4 +1,4 @@
|
|||||||
{ config, lib, pkgs, inputs, username, ... }:
|
{ config, lib, pkgs, inputs, outputs, username, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ../modules/services/gpg.nix ];
|
imports = [ ../modules/services/gpg.nix ];
|
||||||
@@ -11,20 +11,66 @@
|
|||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
|
packages = with pkgs; [
|
||||||
|
firefox
|
||||||
|
thunderbird
|
||||||
|
sparrow
|
||||||
|
freecad
|
||||||
|
element-desktop
|
||||||
|
timeshift
|
||||||
|
unison
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
fileSystems = {
|
||||||
git
|
"/backup" = {
|
||||||
htop
|
device = "10.0.10.2:/volume1/system-backups";
|
||||||
lsof
|
fsType = "nfs";
|
||||||
tree
|
};
|
||||||
unzip
|
};
|
||||||
wget
|
|
||||||
zip
|
environment = {
|
||||||
];
|
gnome.excludePackages = (with pkgs; [
|
||||||
|
gnome-tour
|
||||||
|
]) ++ (with pkgs.gnome; [
|
||||||
|
cheese
|
||||||
|
gnome-music
|
||||||
|
epiphany
|
||||||
|
geary
|
||||||
|
tali
|
||||||
|
iagno
|
||||||
|
hitori
|
||||||
|
atomix
|
||||||
|
]);
|
||||||
|
systemPackages = with pkgs; [
|
||||||
|
git
|
||||||
|
htop
|
||||||
|
lsof
|
||||||
|
tree
|
||||||
|
unzip
|
||||||
|
vim
|
||||||
|
wget
|
||||||
|
zip
|
||||||
|
gnome.gnome-tweaks
|
||||||
|
gnomeExtensions.appindicator
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
time.timeZone = "America/New_York";
|
time.timeZone = "America/New_York";
|
||||||
i18n.defaultLocale = "en_US.utf8";
|
i18n = {
|
||||||
|
defaultLocale = "en_US.utf8";
|
||||||
|
extraLocaleSettings = {
|
||||||
|
LC_ADDRESS = "en_US.UTF-8";
|
||||||
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
||||||
|
LC_MEASUREMENT = "en_US.UTF-8";
|
||||||
|
LC_MONETARY = "en_US.UTF-8";
|
||||||
|
LC_NAME = "en_US.UTF-8";
|
||||||
|
LC_NUMERIC = "en_US.UTF-8";
|
||||||
|
LC_PAPER = "en_US.UTF-8";
|
||||||
|
LC_TELEPHONE = "en_US.UTF-8";
|
||||||
|
LC_TIME = "en_US.UTF-8";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
package = pkgs.nixFlakes;
|
package = pkgs.nixFlakes;
|
||||||
@@ -36,6 +82,9 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
printing = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa = {
|
alsa = {
|
||||||
@@ -44,28 +93,26 @@
|
|||||||
};
|
};
|
||||||
pulse.enable = true;
|
pulse.enable = true;
|
||||||
};
|
};
|
||||||
|
udev.packages = with pkgs; [
|
||||||
|
gnome.gnome-settings-daemon
|
||||||
|
];
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
layout = "us";
|
layout = "us";
|
||||||
xkbVariant = "";
|
xkbVariant = "";
|
||||||
libinput.enable = true;
|
libinput.enable = true;
|
||||||
|
|
||||||
displayManager = {
|
desktopManager = {
|
||||||
defaultSession = "xsession";
|
gnome.enable = true;
|
||||||
|
xterm.enable = false;
|
||||||
session = [{
|
|
||||||
manage = "desktop";
|
|
||||||
name = "xsession";
|
|
||||||
start = ''
|
|
||||||
exec $HOME/.xsession &
|
|
||||||
waitPID=$!
|
|
||||||
'';
|
|
||||||
}];
|
|
||||||
};
|
};
|
||||||
|
displayManager.gdm.enable = true;
|
||||||
|
|
||||||
|
excludePackages = [ pkgs.xterm ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
security.rtkit.enable = true;
|
||||||
fonts.packages = [ pkgs.corefonts ];
|
fonts.packages = [ pkgs.corefonts ];
|
||||||
|
|
||||||
sound.enable = true;
|
sound.enable = true;
|
||||||
|
|||||||
@@ -16,19 +16,10 @@
|
|||||||
systemd-boot.enable = true;
|
systemd-boot.enable = true;
|
||||||
efi = {
|
efi = {
|
||||||
canTouchEfiVariables = true;
|
canTouchEfiVariables = true;
|
||||||
efiSysMountPoint = "/boot/efi";
|
efiSysMountPoint = "/boot";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.initrd = {
|
boot.initrd.secrets."/crypto_keyfile.bin" = null;
|
||||||
secrets."/crypto_keyfile.bin" = null;
|
|
||||||
luks.devices."luks-ff01c3e8-9da4-42d8-8be9-e92713f1bebf" = {
|
|
||||||
device = "/dev/disk/by-uuid/dff01c3e8-9da4-42d8-8be9-e92713f1bebf";
|
|
||||||
keyFile = "/crypto_keyfile.bin";
|
|
||||||
};
|
|
||||||
luks.devices."luks-7e6d719a-de54-44fe-a70b-6077a8a78003" = {
|
|
||||||
device = "/dev/disk/by-uuid/7e6d719a-de54-44fe-a70b-6077a8a78003";
|
|
||||||
keyFile = "/root/swap.key";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,24 +8,24 @@
|
|||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
boot.initrd.kernelModules = [ ];
|
boot.initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "kvm-intel" ];
|
boot.kernelModules = [ "kvm-intel" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/d4974532-75bd-468d-9128-a340ae38c6d5";
|
{ device = "/dev/disk/by-uuid/99ac3f1e-e178-4e52-be17-4669476ed652";
|
||||||
fsType = "ext4";
|
fsType = "ext4";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
boot.initrd.luks.devices."luks-300dbb06-4573-4a20-9842-e83d572fd003".device = "/dev/disk/by-uuid/300dbb06-4573-4a20-9842-e83d572fd003";
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/ADC9-9731";
|
{ device = "/dev/disk/by-uuid/43E8-BD26";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
};
|
};
|
||||||
|
|
||||||
swapDevices =
|
swapDevices = [ ];
|
||||||
[ { device = "/dev/disk/by-uuid/fdcdd6df-b1d5-45e2-9e2a-8249473868b3"; }
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||||
|
|||||||
Reference in New Issue
Block a user