diff options
| author | Kumar Damani <me@kumardamani.net> | 2024-04-21 21:27:13 +0000 |
|---|---|---|
| committer | Kumar Damani <me@kumardamani.net> | 2024-04-21 21:27:13 +0000 |
| commit | 045e46892b133319f217d75099a4e09a982ff4cf (patch) | |
| tree | 4d56f2ebf70f8faa42fdedd38ae4f0d81c87977d /nixpkgs | |
| parent | febffa83585bed7ca654cc7bf90c0fadef6d56b7 (diff) | |
nextcloud docker compose fix
Diffstat (limited to 'nixpkgs')
| -rwxr-xr-x | nixpkgs/.config/nixpkgs/common/scripts/spiceconnect | 2 | ||||
| -rw-r--r-- | nixpkgs/.config/nixpkgs/per-user/kdam0-art/configuration.nix | 23 | ||||
| -rw-r--r-- | nixpkgs/.config/nixpkgs/per-user/kdam0-art/home.nix | 6 |
3 files changed, 29 insertions, 2 deletions
diff --git a/nixpkgs/.config/nixpkgs/common/scripts/spiceconnect b/nixpkgs/.config/nixpkgs/common/scripts/spiceconnect index 9bceee6..9e410ac 100755 --- a/nixpkgs/.config/nixpkgs/common/scripts/spiceconnect +++ b/nixpkgs/.config/nixpkgs/common/scripts/spiceconnect @@ -1,3 +1,3 @@ -#!/bin/bash +#!/usr/bin/env bash remote-viewer ~/Downloads/"$(ls -1t ~/Downloads | head -n1)" diff --git a/nixpkgs/.config/nixpkgs/per-user/kdam0-art/configuration.nix b/nixpkgs/.config/nixpkgs/per-user/kdam0-art/configuration.nix index 22c261c..21e925a 100644 --- a/nixpkgs/.config/nixpkgs/per-user/kdam0-art/configuration.nix +++ b/nixpkgs/.config/nixpkgs/per-user/kdam0-art/configuration.nix @@ -41,6 +41,8 @@ "networkmanager" "audio" "video" + "docker" + "libvirtd" ]; packages = with pkgs; [ tree @@ -49,7 +51,7 @@ }; environment.systemPackages = with pkgs; [ - vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. + vim neovim wget git @@ -57,6 +59,11 @@ htop bmon alsa-utils + docker-buildx + docker-compose + wireguard-tools + cacert + openssl.dev (python3.withPackages (ps: with ps; [ pip regex @@ -64,6 +71,15 @@ ])) ]; + virtualisation.docker = { + enable = true; + enableOnBoot = true; + rootless = { + enable = true; + setSocketVariable = true; + }; + }; + programs.mtr.enable = true; programs.gnupg.agent = { enable = true; @@ -78,9 +94,14 @@ services.thermald.enable = true; services.tlp.enable = true; services.logind.lidSwitch = "suspend-then-hibernate"; + services.gvfs.enable = true; + #services.gnome.gnome-keyring.enable = true; + security.polkit.enable = true; security.pam.services = { login.gnupg.enable = true; + #gdm.enableGnomeKeyring = true; + #hyprland.enableGnomeKeyring = true; }; powerManagement.enable = true; diff --git a/nixpkgs/.config/nixpkgs/per-user/kdam0-art/home.nix b/nixpkgs/.config/nixpkgs/per-user/kdam0-art/home.nix index d2c1b3c..4146acc 100644 --- a/nixpkgs/.config/nixpkgs/per-user/kdam0-art/home.nix +++ b/nixpkgs/.config/nixpkgs/per-user/kdam0-art/home.nix @@ -203,6 +203,8 @@ thunderbird wofi pavucontrol + pcmanfm + gnome.seahorse ]; fonts.fontconfig.enable = true; @@ -212,6 +214,8 @@ defaultCacheTtl = 1800; enableSshSupport = true; }; + services.gnome-keyring.enable = true; + services.gnome-keyring.components = ["secrets"]; systemd.user.services = { bg-wallpaper = { @@ -323,6 +327,8 @@ "allow_workspace_cycles" = true; }; "exec-once" = [ + "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1" + #"${pkgs.plasma5Packages.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1" "mako" "walp" "waybar" |
