mirror of
https://github.com/morten-olsen/nixos-config.git
synced 2026-02-08 00:36:27 +01:00
update
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# https://github.com/michaelpj/nixos-config
|
||||
# https://github.com/HeinzDev/Hyprland-dotfiles/blob/main/nixos/configuration.nix
|
||||
# https://hoverbear.org/blog/declarative-gnome-configuration-in-nixos/
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs = {
|
||||
|
||||
@@ -25,6 +25,8 @@ in {
|
||||
pkgs.spotify
|
||||
pkgs.slack
|
||||
pkgs.rustup
|
||||
pkgs.bitwarden
|
||||
pkgs.bitwarden-cli
|
||||
pkgs.silver-searcher
|
||||
pkgs.ncspot
|
||||
pkgs.ripgrep
|
||||
@@ -34,9 +36,12 @@ in {
|
||||
pkgs.gnumake
|
||||
pkgs.gcc
|
||||
pkgs.terraform
|
||||
pkgs.darktable
|
||||
pkgs.rawtherapee
|
||||
pkgs.signal-desktop
|
||||
pkgs.nodePackages.pnpm
|
||||
pkgs.nodePackages.yarn
|
||||
pkgs.nodePackages.yo
|
||||
pkgs.steam-run
|
||||
pkgs.python3
|
||||
pkgs.gimp
|
||||
@@ -139,4 +144,21 @@ in {
|
||||
];
|
||||
|
||||
};
|
||||
|
||||
|
||||
systemd.user.services.protonmail-bridge = {
|
||||
Unit = {
|
||||
Description = "Protonmail Bridge";
|
||||
After = [ "network.target" ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
Restart = "always";
|
||||
ExecStart = "${pkgs.protonmail-bridge}/bin/protonmail-bridge --no-window --noninteractive";
|
||||
};
|
||||
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
21
user/programs/protonmail/default.nix
Normal file
21
user/programs/protonmail/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = [ pkgs.protonmail-bridge ];
|
||||
systemd.user.services.protonmail-bridge = {
|
||||
Unit = {
|
||||
Description = "Protonmail Bridge";
|
||||
After = [ "network.target" ];
|
||||
};
|
||||
|
||||
Service = {
|
||||
Restart = "always";
|
||||
ExecStart = "${pkgs.protonmail-bridge}/bin/protonmail-bridge --no-window --log-level ${cfg.logLevel}" + optionalString (cfg.nonInteractive) " --noninteractive";
|
||||
};
|
||||
|
||||
Install = {
|
||||
WantedBy = [ "default.target" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user