this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add some packages for work, flatpak, and a bunch of other stuff

roufpup eb5a92f2 a8198a3e

+312 -102
+1
default.nix
··· 13 13 pup_lib.gen_pins sources [ 14 14 "helix-nix" 15 15 "nixpkgs" 16 + "dune" 16 17 ] 17 18 ); 18 19 root_path = toString ./.;
+10
hosts/sand-archives/core/services.nix
··· 206 206 DataStoreEncryptionKey = { 207 207 _secret = config.sops.secrets.netbird_data_store_encryption_key.path; 208 208 }; 209 + TURNConfig.Turns = [ 210 + { 211 + Proto = "udp"; 212 + URI = "turn:netbird.killuaa.dev:3478"; 213 + Username = "netbird"; 214 + Password = { 215 + _secret = config.sops.secrets.coturn_password.path; 216 + }; 217 + } 218 + ]; 209 219 }; 210 220 }; 211 221 dashboard = {
+12 -25
hosts/work/core/packages.nix
··· 33 33 pulsemixer 34 34 fd 35 35 jq 36 - nix-output-monitor 37 36 sops 38 37 dig 39 38 nmap 40 - pinentry-gnome3 41 - dune 39 + pinentry-qt 42 40 pastel 43 41 44 42 # CLI apps ··· 50 48 swww 51 49 stash 52 50 (lib.hiPrio wl-clipboard-rs) 53 - monero-cli 54 51 yubikey-manager 55 52 56 53 # GUI apps 57 - yubioath-flutter 58 54 dconf-editor 59 55 winbox4 60 56 amdgpu_top 61 57 easyeffects 62 58 quickshell 63 59 seahorse 64 - nicotine-plus 65 60 tauon 66 - monero-gui 61 + virt-manager 67 62 68 63 # Social 69 64 signal-desktop ··· 96 91 nixd 97 92 nixfmt 98 93 schemat 99 - # corretto21 100 94 hoppscotch 101 95 forgejo-runner 102 - meld 103 96 hextazy 104 - xh 105 97 tokei 106 - jujutsu 107 - d-spy 108 98 just 109 - ghex 110 - android-studio 111 - # jetbrains.idea-community-bin 112 99 jetbrains.rider 113 100 jetbrains.idea 114 101 ··· 121 108 bitwarden-desktop 122 109 ente-desktop 123 110 onlyoffice-desktopeditors 124 - libreoffice-qt-fresh 125 - papers 126 - nemo-with-extensions 127 - nemo-emblems 128 - nemo-fileroller 129 - newsflash 111 + kdePackages.dolphin 112 + kdePackages.okular 130 113 rssguard 131 114 yazi 132 - foliate 133 115 mpv 134 116 tutanota-desktop 135 117 mako 136 118 librewolf-bin 137 119 syncplay 138 - 139 - # Fish plugins 140 - fishPlugins.fzf-fish 120 + kdePackages.gwenview 121 + kdePackages.kimageformats 141 122 142 123 #Theming 143 124 mint-themes 144 125 mint-y-icons 145 126 kdePackages.breeze 146 127 kdePackages.breeze-icons 128 + vimix-icon-theme 147 129 148 130 # 3rd party 149 131 args.pins.affinity-nix.packages."${pkgs.stdenv.hostPlatform.system}".v3 150 132 args.pins.wire.packages.${builtins.currentSystem}.wire 151 133 (import args.pins.nixpkgs-jelly { }).jellyfin-desktop 134 + args.pins.dune.packages.default 135 + 136 + # For work 137 + safenet_authentication_client 138 + btrustbiss 152 139 ]; 153 140 }
+1 -1
hosts/work/core/programs.nix
··· 7 7 gnupg = { 8 8 agent = { 9 9 enable = true; 10 - pinentryPackage = pkgs.pinentry-gnome3; 10 + pinentryPackage = pkgs.pinentry-qt; 11 11 enableSSHSupport = true; 12 12 }; 13 13 };
+11 -32
hosts/work/core/services.nix
··· 128 128 }; 129 129 }; 130 130 131 - # pihole-web = { 132 - # enable = true; 133 - # ports = [ 134 - # "80r" 135 - # "443s" 136 - # ]; 137 - # }; 138 - # pihole-ftl = { 139 - # enable = true; 140 - # settings = { 141 - # webserver = { 142 - # interface.theme = "default-dark"; 143 - # }; 144 - # dns = { 145 - # upstreams = [ 146 - # "76.76.2.0" 147 - # "76.76.10.0" 148 - # ]; 149 - # domain = { 150 - # name = "puppy"; 151 - # }; 152 - # }; 153 - # }; 154 - # lists = [ 155 - # { 156 - # enabled = true; 157 - # description = "Hagezi Ultimate"; 158 - # url = "https://cdn.jsdelivr.net/gh/hagezi/dns-blocklists@latest/adblock/ultimate.txt"; 159 - # type = "block"; 160 - # } 161 - # ]; 162 - # }; 131 + flatpak = { 132 + enable = true; 133 + remotes = { 134 + "flathub" = "https://dl.flathub.org/repo/flathub.flatpakrepo"; 135 + }; 136 + packages = [ 137 + "flathub:app/com.collaboraoffice.Office//stable" 138 + "flathub:app/com.github.tchx84.Flatseal//stable" 139 + "flathub:app/page.codeberg.JakobDev.jdDBusDebugger//stable" 140 + ]; 141 + }; 163 142 }; 164 143 systemd.services.netbird-work = { 165 144 serviceConfig = {
+3 -3
hosts/work/core/systemd.nix
··· 93 93 Restart = "always"; 94 94 }; 95 95 }; 96 - polkit-gnome-authentication-agent-1 = { 97 - description = "polkit-gnome-authentication-agent-1"; 96 + polkit-kde-authentication-agent-1 = { 97 + description = "polkit-kde-authentication-agent-1"; 98 98 wantedBy = [ "graphical-session.target" ]; 99 99 wants = [ "graphical-session.target" ]; 100 100 after = [ "graphical-session.target" ]; 101 101 serviceConfig = { 102 102 Type = "simple"; 103 - ExecStart = "${pkgs.polkit_gnome}/libexec/polkit-gnome-authentication-agent-1"; 103 + ExecStart = "${pkgs.kdePackages.polkit-kde-agent-1}/libexec/polkit-kde-authentication-agent-1"; 104 104 Restart = "on-failure"; 105 105 RestartSec = 1; 106 106 TimeoutStopSec = 10;
+2
hosts/work/core/virtualization.nix
··· 34 34 swtpm = { 35 35 enable = true; 36 36 }; 37 + vhostUserPackages = [ pkgs.virtiofsd ]; 37 38 }; 38 39 }; 39 40 waydroid = { 40 41 enable = true; 42 + package = pkgs.waydroid-nftables; 41 43 }; 42 44 43 45 podman = {
+42 -6
hosts/work/core/xdg.nix
··· 2 2 let 3 3 browser_desktop = "librewolf.desktop"; 4 4 media_player_desktop = "mpv.desktop"; 5 - image_viewer_desktop = "org.gnome.Loupe.desktop"; 5 + image_viewer_desktop = "org.kde.gwenview.desktop"; 6 6 text_editor_desktop = "dev.zed.Zed.desktop"; 7 - file_manager_desktop = "nemo.desktop"; 7 + file_manager_desktop = "org.kde.dolphin.desktop"; 8 + pdf_desktop = "okularApplication_pdf.desktop"; 9 + epub_desktop = "okularApplication_epub.desktop"; 10 + document_desktop = "com.collaboraoffice.Office.desktop"; 11 + presentation_desktop = "com.collaboraoffice.Office.desktop"; 12 + spreadsheet_desktop = "com.collaboraoffice.Office.desktop"; 8 13 in 9 14 { 15 + environment.etc."xdg/menus/applications.menu".source = 16 + "${pkgs.kdePackages.plasma-workspace}/etc/xdg/menus/plasma-applications.menu"; 10 17 xdg = { 11 18 portal = { 12 19 enable = true; 13 20 xdgOpenUsePortal = true; 14 21 extraPortals = with pkgs; [ 22 + kdePackages.xdg-desktop-portal-kde 15 23 xdg-desktop-portal-gnome 16 24 xdg-desktop-portal-gtk 17 25 ]; 18 - config = { 26 + config = lib.mkForce { 19 27 niri = { 20 - default = lib.mkForce [ 21 - "gtk;gnome" 28 + default = [ 29 + "kde" 30 + "gtk" 31 + "gnome" 22 32 ]; 23 33 "org.freedesktop.impl.portal.Secret" = [ 24 34 "gnome-keyring" 25 35 ]; 26 - "org.freedesktop.Notifications" = [ 36 + "org.freedesktop.impl.portal.Notification" = [ 27 37 "mako" 28 38 ]; 39 + "org.freedesktop.impl.portal.FileChooser" = [ 40 + "kde" 41 + ]; 42 + "org.freedesktop.impl.portal.Access" = [ 43 + "kde" 44 + ]; 45 + "org.freedesktop.impl.portal.ScreenCast" = [ 46 + "gnome" 47 + ]; 29 48 }; 30 49 }; 31 50 }; ··· 40 59 "application/x-extension-xht" = "${browser_desktop}"; 41 60 "application/x-extension-xhtml" = "${browser_desktop}"; 42 61 "application/xhtml+xml" = "${browser_desktop}"; 62 + "application/pdf" = "${pdf_desktop}"; 63 + "application/epub+zip" = "${epub_desktop}"; 64 + 65 + "application/msword" = "${document_desktop}"; 66 + "application/vnd.openxmlformats-officedocument.wordprocessingml.document" = "${document_desktop}"; 67 + "application/vnd.oasis.opendocument.text" = "${document_desktop}"; 68 + 69 + "application/vnd.ms-powerpoint" = "${presentation_desktop}"; 70 + "application/vnd.openxmlformats-officedocument.presentationml.presentation" = "${ 71 + presentation_desktop 72 + }"; 73 + "application/vnd.oasis.opendocument.presentation" = "${presentation_desktop}"; 74 + 75 + "application/vnd.ms-excel" = "${spreadsheet_desktop}"; 76 + "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" = "${spreadsheet_desktop}"; 77 + "application/vnd.oasis.opendocument.spreadsheet" = "${spreadsheet_desktop}"; 78 + 43 79 "x-scheme-handler/chrome" = "${browser_desktop}"; 44 80 "x-scheme-handler/http" = "${browser_desktop}"; 45 81 "x-scheme-handler/https" = "${browser_desktop}";
+8 -4
hosts/work/default.nix
··· 13 13 14 14 args.pins.sops-nix.nixosModules.sops 15 15 args.pins.nix-index.nixosModules.nix-index 16 + args.pins.flatpak.nixosModules.default 16 17 ] 17 18 ++ (args.pup_lib.module_imports ./core); 18 19 ··· 22 23 fonts = { 23 24 fontconfig = { 24 25 defaultFonts = { 25 - monospace = [ "Monocraft Nerd Font" ]; 26 + monospace = [ "FiraCode Nerd Font" ]; 26 27 }; 27 28 }; 28 29 packages = with pkgs; [ ··· 33 34 noto-fonts-color-emoji 34 35 noto-fonts-emoji-blob-bin 35 36 noto-fonts-lgc-plus 36 - monocraft 37 37 ]; 38 38 }; 39 39 ··· 87 87 rocmSupport = true; 88 88 android_sdk.accept_license = true; 89 89 permittedInsecurePackages = [ 90 - "librewolf-bin-146.0.1-1" 91 - "librewolf-bin-unwrapped-146.0.1-1" 90 + "librewolf-bin-147.0.2-1" 91 + "librewolf-bin-unwrapped-147.0.2-1" 92 92 ]; 93 93 }; 94 94 hostPlatform = lib.mkDefault "x86_64-linux"; ··· 103 103 "nixpkgs=${args.sources.nixpkgs.outPath}" 104 104 "dots=${args.root_path}" 105 105 ]; 106 + registry.nixpkgs.to = { 107 + type = "path"; 108 + path = args.sources.nixpkgs.outPath; 109 + }; 106 110 channel.enable = false; 107 111 settings = { 108 112 use-xdg-base-directories = true;
+7 -1
hosts/work/hjem-rum/niri.nix
··· 76 76 default-window-height { fixed 800; } 77 77 } 78 78 window-rule { 79 - match app-id="nemo" 79 + match app-id="org.kde.dolphin" 80 80 open-floating true 81 81 default-column-width { fixed 1375; } 82 82 default-window-height { fixed 830; } 83 + } 84 + window-rule { 85 + match title=r#"^.*Properties.*$"# 86 + open-floating true 87 + default-column-width { fixed 485; } 88 + default-window-height { fixed 545; } 83 89 } 84 90 window-rule { 85 91 opacity 0.97
+1 -1
hosts/work/hjem-rum/programs/misc.nix
··· 59 59 regular7 = "c4c5b5"; 60 60 }; 61 61 main = { 62 - font = "Monocraft Nerd Font:size=14:style=Regular"; 62 + font = "FiraCode Nerd Font:size=14:style=Regular"; 63 63 pad = "15x15"; 64 64 term = "xterm-256color"; 65 65 };
+2 -2
hosts/work/hjem-rum/programs/zed.nix
··· 53 53 # Font 54 54 ui_font_size = 16.0; 55 55 ui_font_weight = 300.0; 56 - ui_font_family = "Monocraft Nerd Font"; 56 + ui_font_family = "FiraCode Nerd Font"; 57 57 buffer_font_size = 16.0; 58 - buffer_font_family = "Monocraft Nerd Font"; 58 + buffer_font_family = "FiraCode Nerd Font"; 59 59 60 60 # UI 61 61 project_panel = {
+1 -1
hosts/work/hjem-rum/themes/zed-theme.nix
··· 240 240 font_weight = null; 241 241 }; 242 242 "embedded" = { 243 - color = "#d003e2"; # Unmodified 243 + color = "#f59762"; # Only place i found this is when doing shell inline commands for nix postInstall script like <($out 244 244 font_style = null; 245 245 font_weight = null; 246 246 };
+1 -1
lib/default.nix
··· 50 50 (lib.mapAttrs ( 51 51 name: value: 52 52 if builtins.elem name excl then 53 - (import value) 53 + (import value { }) 54 54 else 55 55 (import src.flake-compat { 56 56 src = builtins.path {
+47 -19
npins/sources.json
··· 9 9 }, 10 10 "branch": "main", 11 11 "submodules": false, 12 - "revision": "0c110a15fb5605490f7de451073db1c775745fee", 13 - "url": "https://github.com/mrshmllow/affinity-nix/archive/0c110a15fb5605490f7de451073db1c775745fee.tar.gz", 14 - "hash": "sha256-IcvLwoF1CIOd7yELc0Xwqskilw2FxHHRm5ZnmNdBuKc=" 12 + "revision": "cfec6b8371038868748370ed38c59ec35e49b62e", 13 + "url": "https://github.com/mrshmllow/affinity-nix/archive/cfec6b8371038868748370ed38c59ec35e49b62e.tar.gz", 14 + "hash": "sha256-imdu7ueh6PZcUG1+/H4+JJbaeAuO+v0BYJtVVlAeqjc=" 15 + }, 16 + "dune": { 17 + "type": "Git", 18 + "repository": { 19 + "type": "Git", 20 + "url": "file:///home/roufpup/Documents/projects/dune" 21 + }, 22 + "branch": "main", 23 + "submodules": false, 24 + "revision": "665ecd75c62273d2e206e66d6aae4975cbfdc969", 25 + "url": null, 26 + "hash": "sha256-tgjCoQCc5COOWSY89/xOchTzhdB1oYb/WUc1M5LdNco=" 15 27 }, 16 28 "flake-compat": { 17 29 "type": "Git", ··· 27 39 "url": "https://git.lix.systems/lix-project/flake-compat/archive/549f2762aebeff29a2e5ece7a7dc0f955281a1d1.tar.gz", 28 40 "hash": "sha256-NKw96t+BgHIYzHUjkTK95FqYRVKB8DHpVhefWSz/kTw=" 29 41 }, 42 + "flatpak": { 43 + "type": "GitRelease", 44 + "repository": { 45 + "type": "GitHub", 46 + "owner": "in-a-dil-emma", 47 + "repo": "declarative-flatpak" 48 + }, 49 + "pre_releases": false, 50 + "version_upper_bound": null, 51 + "release_prefix": null, 52 + "submodules": false, 53 + "version": "v4.1.6", 54 + "revision": "6d6bfeae6e225e68433dffdbbc46d1ff4b48481f", 55 + "url": "https://api.github.com/repos/in-a-dil-emma/declarative-flatpak/tarball/refs/tags/v4.1.6", 56 + "hash": "sha256-J0n+J/qfU3xTf5iaMcQrEK4dA5GSYQcw8XJuhZsM1Pc=" 57 + }, 30 58 "helix-nix": { 31 59 "type": "Git", 32 60 "repository": { 33 61 "type": "Git", 34 - "url": "file:///home/roufpup/Documents/Projects/helix-nix" 62 + "url": "file:///home/roufpup/Documents/projects/helix-nix" 35 63 }, 36 64 "branch": "main", 37 65 "submodules": false, 38 - "revision": "50e5dded0def46ef53f24d1a385c5d58ec7efe68", 66 + "revision": "9f9b86b9024773d685d0a2ee570e4db0064e65f3", 39 67 "url": null, 40 - "hash": "sha256-G/2i4XKZOfRpghgu7Ix7QpYyP67dZULO/Re8JI3oyVQ=" 68 + "hash": "sha256-Apa/ciTcUTZ0/3JWIcDKMo+4Ovg2caVsH4TJ8oUZe4k=" 41 69 }, 42 70 "hjem": { 43 71 "type": "Git", ··· 69 97 "type": "Git", 70 98 "repository": { 71 99 "type": "Git", 72 - "url": "file:///home/roufpup/Documents/Projects/hjem-rum" 100 + "url": "file:///home/roufpup/Documents/projects/hjem-rum" 73 101 }, 74 102 "branch": "main", 75 103 "submodules": false, ··· 86 114 }, 87 115 "branch": "main", 88 116 "submodules": false, 89 - "revision": "82befcf7dc77c909b0f2a09f5da910ec95c5b78f", 90 - "url": "https://github.com/nix-community/nix-index-database/archive/82befcf7dc77c909b0f2a09f5da910ec95c5b78f.tar.gz", 91 - "hash": "sha256-d3NBA9zEtBu2JFMnTBqWj7Tmi7R5OikoU2ycrdhQEws=" 117 + "revision": "2684bb8080a6f2ca5f9d494de5ef875bc1c4ecdb", 118 + "url": "https://github.com/nix-community/nix-index-database/archive/2684bb8080a6f2ca5f9d494de5ef875bc1c4ecdb.tar.gz", 119 + "hash": "sha256-hy0gcAgAcxrnSWKGuNO+Ob0x6jQ2xkR6hoaR0qJBHYs=" 92 120 }, 93 121 "nix-minecraft": { 94 122 "type": "Git", ··· 111 139 }, 112 140 "branch": "nixos-unstable", 113 141 "submodules": false, 114 - "revision": "c5296fdd05cfa2c187990dd909864da9658df755", 115 - "url": "https://github.com/NixOS/nixpkgs/archive/c5296fdd05cfa2c187990dd909864da9658df755.tar.gz", 116 - "hash": "sha256-oMmN1lVQU0F0W2k6OI3bgdzp2YOHWYUAw79qzDSjenU=" 142 + "revision": "00c21e4c93d963c50d4c0c89bfa84ed6e0694df2", 143 + "url": "https://github.com/NixOS/nixpkgs/archive/00c21e4c93d963c50d4c0c89bfa84ed6e0694df2.tar.gz", 144 + "hash": "sha256-AYqlWrX09+HvGs8zM6ebZ1pwUqjkfpnv8mewYwAo+iM=" 117 145 }, 118 146 "nixpkgs-jelly": { 119 147 "type": "Git", ··· 138 166 }, 139 167 "branch": "master", 140 168 "submodules": false, 141 - "revision": "892a4046a680000914ffeb3121ae9104bd5b3f93", 142 - "url": "https://github.com/NixOS/nixpkgs/archive/892a4046a680000914ffeb3121ae9104bd5b3f93.tar.gz", 143 - "hash": "sha256-W/sVQL3ZE9JajudQR2b/nfv4XhzlBZB9DHcr/8NjC9c=" 169 + "revision": "73fbc5be130687799017d5b28233748dbe0de539", 170 + "url": "https://github.com/NixOS/nixpkgs/archive/73fbc5be130687799017d5b28233748dbe0de539.tar.gz", 171 + "hash": "sha256-7E7LaEf3OwqfwpVVBoJAU5ESPcb5+YHGTNcelLDpprs=" 144 172 }, 145 173 "sops-nix": { 146 174 "type": "Git", ··· 151 179 }, 152 180 "branch": "master", 153 181 "submodules": false, 154 - "revision": "2eb9eed7ef48908e0f02985919f7eb9d33fa758f", 155 - "url": "https://github.com/Mic92/sops-nix/archive/2eb9eed7ef48908e0f02985919f7eb9d33fa758f.tar.gz", 156 - "hash": "sha256-+Uvq9h2eGsbhacXpuS7irYO7fFlz514nrhPCSTkASlw=" 182 + "revision": "17eea6f3816ba6568b8c81db8a4e6ca438b30b7c", 183 + "url": "https://github.com/Mic92/sops-nix/archive/17eea6f3816ba6568b8c81db8a4e6ca438b30b7c.tar.gz", 184 + "hash": "sha256-ktjWTq+D5MTXQcL9N6cDZXUf9kX8JBLLBLT0ZyOTSYY=" 157 185 }, 158 186 "stash": { 159 187 "type": "Git",
+4 -2
overlays/default/overlay.nix
··· 1 1 { pins, ... }: 2 - (final: prev: { 2 + (final: prev: rec { 3 3 calc-rs = prev.callPackage ../../packages/calc-rs { }; 4 4 configarr = prev.callPackage ../../packages/configarr { }; 5 - dune = prev.callPackage ../../packages/dune { }; 5 + # dune = prev.callPackage ../../packages/dune { }; 6 6 elysia = prev.callPackage ../../packages/elysia { }; 7 + safenet_authentication_client = prev.callPackage ../../packages/safenet_authentication_client { }; 8 + btrustbiss = prev.callPackage ../../packages/btrustbiss { inherit safenet_authentication_client; }; 7 9 helix = pins.helix-nix.packages.helix; 8 10 steel = pins.helix-nix.packages.steel; 9 11 chafa = prev.chafa.overrideAttrs (prev-chafa: {
+86
packages/btrustbiss/default.nix
··· 1 + { 2 + safenet_authentication_client, 3 + stdenv, 4 + autoPatchelfHook, 5 + makeWrapper, 6 + dpkg, 7 + freetype, 8 + pcsclite, 9 + zlib, 10 + alsa-lib, 11 + xorg, 12 + libGL, 13 + gtk3, 14 + gdk-pixbuf, 15 + glib, 16 + zip, 17 + unzip, 18 + cfr, 19 + sd, 20 + jdk17_headless, 21 + lib, 22 + ... 23 + }: 24 + stdenv.mkDerivation rec { 25 + pname = "btrustbiss"; 26 + version = "3.44"; 27 + src = fetchTarball { 28 + url = "https://www.b-trust.bg/attachments/BtrustPrivateFile/24/docs/B-TrustBISS.tar"; 29 + }; 30 + unpackPhase = "${dpkg}/bin/dpkg-deb -x $src ./extracted"; 31 + 32 + nativeBuildInputs = [ 33 + autoPatchelfHook 34 + makeWrapper 35 + unzip 36 + cfr 37 + sd 38 + zip 39 + ]; 40 + 41 + buildInputs = [ 42 + freetype 43 + pcsclite.lib 44 + zlib 45 + alsa-lib 46 + xorg.libXext 47 + xorg.libXtst 48 + xorg.libXi 49 + xorg.libX11 50 + xorg.libXrender 51 + xorg.libXxf86vm 52 + libGL 53 + 54 + gtk3 55 + gdk-pixbuf 56 + glib 57 + ]; 58 + 59 + preFixup = '' 60 + rm $out/opt/btrustbiss/lib/app/p11_libs/libIDPrimePKCS11.so 61 + ''; 62 + 63 + installPhase = '' 64 + echo "java-options=-XX:-UseContainerSupport" >> ./extracted/opt/btrustbiss/lib/app/BISS.cfg 65 + mkdir -p $out 66 + cp -R ./extracted/opt $out 67 + 68 + mkdir ./temp 69 + cd ./temp 70 + 71 + unzip -q $out/opt/btrustbiss/lib/app/biss-3.44.jar 72 + cfr ./BOOT-INF/classes/bg/borica/biss/BissSpringBootApplication.class --outputdir . 73 + sd '/usr/lib64/libpcsclite.so.1' '${pcsclite.lib}/lib/libpcsclite.so.1' ./bg/borica/biss/BissSpringBootApplication.java 74 + sd '/opt/btrustbiss/lib/app' '${placeholder "out"}/opt/btrustbiss/lib/app' ./BOOT-INF/classes/application-linux.properties 75 + ${jdk17_headless}/lib/openjdk/bin/javac -cp "./BOOT-INF/lib/*:./BOOT-INF/classes" bg/borica/biss/BissSpringBootApplication.java 76 + mv bg/borica/biss/BissSpringBootApplication.class ./BOOT-INF/classes/bg/borica/biss/BissSpringBootApplication.class 77 + zip -q -r0 $out/opt/btrustbiss/lib/app/biss-3.44.jar . 78 + 79 + mkdir -p $out/bin 80 + ln -sf $out/opt/btrustbiss/bin/BISS $out/bin/BISS 81 + ln -sf ${safenet_authentication_client}/lib/libeToken.so $out/opt/btrustbiss/lib/app/p11_libs/libeToken.so 82 + 83 + wrapProgram $out/bin/BISS \ 84 + --prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath buildInputs} \ 85 + ''; 86 + }
+33 -4
packages/dune/default.nix
··· 1 - { rustPlatform, ... }: 1 + { 2 + rustPlatform, 3 + installShellFiles, 4 + clang, 5 + libclang, 6 + wild, 7 + ... 8 + }: 2 9 rustPlatform.buildRustPackage { 3 10 pname = "dune"; 4 - version = "git"; 11 + version = "38de38c"; 12 + nativeBuildInputs = [ 13 + installShellFiles 14 + wild 15 + clang 16 + libclang 17 + ]; 5 18 6 19 src = fetchGit { 7 - url = "file:///home/roufpup/Documents/Projects/dune"; 20 + url = "file:///home/roufpup/Documents/projects/dune"; 8 21 }; 9 - cargoHash = "sha256-h1PHije9u041qDqfAClSMkO8j9CoLoEpfjHl2UmACzU="; 22 + cargoHash = "sha256-lnfJ6dUEId9JtR0leYf6+6XG1GAByaeFUkvCW760GJQ="; 23 + 24 + cargoBuildFlags = [ 25 + "--config" 26 + "./.cargo/config.toml" 27 + ]; 28 + 29 + cargoTestFlags = [ 30 + "--config" 31 + "./.cargo/config.toml" 32 + ]; 33 + 34 + postInstall = '' 35 + installShellCompletion --cmd dune \ 36 + --fish <($out/bin/dune compl fish) \ 37 + --bash <($out/bin/dune compl bash) 38 + ''; 10 39 }
+40
packages/safenet_authentication_client/default.nix
··· 1 + { ... }: 2 + let 3 + pkgs = import <nixpkgs> { }; 4 + in 5 + pkgs.stdenv.mkDerivation rec { 6 + pname = "safenet_authentication_client"; 7 + version = "10.9.4723"; 8 + src = fetchTarball { 9 + url = "https://www.b-trust.bg/attachments/BtrustPrivateFile/251/docs/Gemalto-Linux.tar"; 10 + }; 11 + 12 + buildInputs = with pkgs; [ 13 + autoPatchelfHook 14 + glib 15 + libgcc.lib 16 + openssl 17 + pcsclite.lib 18 + gtk3 19 + pango 20 + gdk-pixbuf 21 + libx11 22 + ]; 23 + 24 + installPhase = '' 25 + cd Ubuntu-2204 26 + mkdir ./extracted 27 + ${pkgs.dpkg}/bin/dpkg-deb -x ./safenetauthenticationclient_${version}_amd64.deb ./extracted 28 + cd ./extracted 29 + 30 + mkdir -p $out 31 + 32 + cp -R ./etc $out 33 + cp -R ./lib $out 34 + cp -R ./usr/lib/* $out/lib 35 + cp -R ./usr/bin $out 36 + cp -R ./usr/share $out 37 + 38 + ls -la $out 39 + ''; 40 + }