properly import with correct optionals
This commit is contained in:
parent
dcdfdbaa47
commit
714093946c
12 changed files with 88 additions and 81 deletions
|
@ -1,70 +1,72 @@
|
|||
{ config, pkgs, ... }: {
|
||||
{ lib, config, pkgs, ... }: {
|
||||
imports = [
|
||||
./firefox.nix
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
57621 # spotifyd
|
||||
];
|
||||
|
||||
services = {
|
||||
# Needed for some features in nautilus such as auto-mounting and trash
|
||||
gvfs.enable = true;
|
||||
};
|
||||
|
||||
home-manager.users.twoneis = {
|
||||
home.packages = with pkgs; [
|
||||
signal-desktop
|
||||
vesktop
|
||||
fractal
|
||||
loupe
|
||||
snapshot
|
||||
gnome.nautilus
|
||||
libreoffice-qt6-fresh
|
||||
config = lib.mkIf config.user {
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
57621 # spotifyd
|
||||
];
|
||||
|
||||
home.file = {
|
||||
".config/vesktop/settings.json" = {
|
||||
source = ./vesktop.conf.json;
|
||||
};
|
||||
".config/vesktop/settings/settings.json" = {
|
||||
source = ./vencord.conf.json;
|
||||
};
|
||||
services = {
|
||||
# Needed for some features in nautilus such as auto-mounting and trash
|
||||
gvfs.enable = true;
|
||||
};
|
||||
|
||||
programs.pandoc = {
|
||||
enable = true;
|
||||
};
|
||||
home-manager.users.twoneis = {
|
||||
home.packages = with pkgs; [
|
||||
signal-desktop
|
||||
vesktop
|
||||
fractal
|
||||
loupe
|
||||
snapshot
|
||||
gnome.nautilus
|
||||
libreoffice-qt6-fresh
|
||||
];
|
||||
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.spotifyd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
device_name = config.networking.hostName;
|
||||
bitrate = 320;
|
||||
volume_normalisation = true;
|
||||
autoplay = false;
|
||||
zeroconf_port = 57621;
|
||||
home.file = {
|
||||
".config/vesktop/settings.json" = {
|
||||
source = ./vesktop.conf.json;
|
||||
};
|
||||
".config/vesktop/settings/settings.json" = {
|
||||
source = ./vencord.conf.json;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
"default" = {
|
||||
isDefault = true;
|
||||
programs.pandoc = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
programs.mpv = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.spotifyd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
device_name = config.networking.hostName;
|
||||
bitrate = 320;
|
||||
volume_normalisation = true;
|
||||
autoplay = false;
|
||||
zeroconf_port = 57621;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = import ./alacritty.conf.nix;
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
"default" = {
|
||||
isDefault = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
programs.alacritty = {
|
||||
enable = true;
|
||||
settings = import ./alacritty.conf.nix;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue