mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 15:07:44 -05:00
Remove Some Ambiguous Characters
This commit is contained in:
parent
ebf4cea2ce
commit
0a977070c8
1 changed files with 19 additions and 13 deletions
|
|
@ -1,6 +1,6 @@
|
|||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
# and in the NixOS manual (accessible by running 'nixos-help').
|
||||
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
|
|
@ -85,7 +85,7 @@
|
|||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
# Define a user account. Don't forget to set a password with 'passwd'.
|
||||
users.users.annika = {
|
||||
isNormalUser = true;
|
||||
description = "Annika Merris";
|
||||
|
|
@ -103,21 +103,27 @@
|
|||
age.keyFile = "/home/annika/.config/sops/age/keys.txt";
|
||||
|
||||
secrets."spotifyd/settings/global/password" = { };
|
||||
|
||||
templates = {
|
||||
"spotifyd.conf" = {
|
||||
owner = "annika";
|
||||
content = ''
|
||||
[global]
|
||||
username = "me@annikamerris.com"
|
||||
password = "${config.sops.placeholder."spotifyd/settings/global/password"}"
|
||||
use_mpris = true
|
||||
device_name = "kim-nix"
|
||||
device_type = "computer"
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Install and setup spotifyd
|
||||
sops.templates."spotifyd.conf".content = ''
|
||||
[global]
|
||||
username = "me@annikamerris.com"
|
||||
password = "${config.sops.placeholder."spotifyd/settings/global/password"}"
|
||||
use_mpris = true
|
||||
device_name = "kim-nix"
|
||||
device_type = "computer"
|
||||
what = "huh"
|
||||
'';
|
||||
# sops.templates.
|
||||
systemd.user.services.spotifyd = {
|
||||
description = "spotify daemon";
|
||||
documentation = "https://github.com/Spotifyd/spotifyd";
|
||||
documentation = [ "https://github.com/Spotifyd/spotifyd" ];
|
||||
|
||||
wantedBy = [ "default.target" ];
|
||||
|
||||
|
|
@ -173,7 +179,7 @@
|
|||
|
||||
# This value determines the NixOS release from which the default
|
||||
# settings for stateful data, like file locations and database versions
|
||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||
# on your system were taken. It's perfectly fine and recommended to leave
|
||||
# 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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue