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";

View file

@ -26,7 +26,7 @@
# this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "23.05"; # Did you read the comment?
system.stateVersion = "23.11"; # Did you read the comment?
}

View file

@ -3,18 +3,17 @@
{
services.syncthing = {
enable = true;
dataDir = config.constants.homeDir;
openDefaultPorts = true;
overrideDevices = true;
overrideFolders = true;
settings = {
devices.blitzar = {
name = "blitzar";
settings = let pc = "blitzar"; in {
devices.${pc} = {
name = pc;
id = "JQQYTRP-GEJITYH-NSHUZ2T-YWS5XDC-7R6E47Z-NUXON4D-4QR77VU-AE4Q3AR";
};
folders.music = {
enable = true;
devices = [ "blitzar" ];
devices = [ pc ];
id = "Music";
label = "Music";
path = "~/Music";