Update flake

This commit is contained in:
Invariantspace 2023-11-28 20:28:32 -08:00
parent a2e5f43a1f
commit 0ffb8047b2
5 changed files with 36 additions and 38 deletions

View file

@ -1,5 +1,5 @@
{ config, pkgs, ... }: {
home-manager.users.${config.constants.userName} = {
{ config, pkgs, ... }: let usr = config.constants.userName; in {
home-manager.users.${usr} = {
home.packages = with pkgs; [
exactaudiocopy
haruna
@ -80,7 +80,7 @@
enable = true;
displayManager = {
defaultSession = "plasmawayland";
autoLogin.user = "macronova";
autoLogin.user = usr;
sddm = {
enable = true;
autoLogin.relogin = true;

View file

@ -3,18 +3,17 @@
{
services.syncthing = {
enable = true;
dataDir = config.constants.homeDir;
openDefaultPorts = true;
overrideDevices = true;
overrideFolders = true;
settings = {
devices.nebula = {
name = "nebula";
settings = let media = "nebula"; in {
devices.${media} = {
name = media;
id = "KCQSN3M-UWBEDE6-SCS5LS7-WFKFLDK-WT5ECNB-3Z47WAM-ZMA52UL-ZNJUYQ7";
};
folders.music = {
enable = true;
devices = [ "nebula" ];
devices = [ media ];
id = "Music";
label = "Music";
path = "~/Music";