mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2025-10-02 02:14:59 +00:00
Compare commits
7 commits
a1fc42e38f
...
7e12d6eb90
Author | SHA1 | Date | |
---|---|---|---|
|
7e12d6eb90 | ||
|
382df31152 | ||
|
bfe682b9ab | ||
|
70a0de71d0 | ||
|
5c13dbf132 | ||
|
58d5006cae | ||
|
8492a3d711 |
5 changed files with 109 additions and 15 deletions
29
nongnu/packages/anonsurf-parrot
Normal file
29
nongnu/packages/anonsurf-parrot
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
(define-module (my-packages anonsurf)
|
||||||
|
#:use-module (guix packages)
|
||||||
|
#:use-module (guix git-download)
|
||||||
|
#:use-module (guix build-system gnu))
|
||||||
|
|
||||||
|
(define-public anonsurf
|
||||||
|
(package
|
||||||
|
(name "anonsurf")
|
||||||
|
(version version) ;; Insert the appropriate version number
|
||||||
|
(source (origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/ParrotSec/anonsurf")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (string-append name "-" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
hash)))) ;; Update SHA256 hash
|
||||||
|
(build-system gnu-build-system)
|
||||||
|
(arguments `(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'pre-configure
|
||||||
|
(lambda _
|
||||||
|
(invoke "make")
|
||||||
|
#t)))))
|
||||||
|
(home-page "https://github.com/ParrotSec/anonsurf")
|
||||||
|
(synopsis "Parrot AnonSurf Module")
|
||||||
|
(description "AnonSurf is a script designed to start TOR and set the iptables properly to prevent traffic from passing outside the TOR network.")
|
||||||
|
(license license:license))) ;; Update the license if different
|
60
nongnu/packages/clight.scm
Normal file
60
nongnu/packages/clight.scm
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
(define-module (clight)
|
||||||
|
#:use-module (guix build-system cmake)
|
||||||
|
#:use-module (guix packages)
|
||||||
|
#:use-module (guix download)
|
||||||
|
#:use-module ((guix licenses) #:prefix license:)
|
||||||
|
#:use-module (gnu packages version-control)
|
||||||
|
#:use-module (gnu packages admin)
|
||||||
|
#:use-module (gnu packages statistics)
|
||||||
|
#:use-module (gnu packages manipulation)
|
||||||
|
#:use-module (gnu packages base))
|
||||||
|
|
||||||
|
(define-public clight
|
||||||
|
(package
|
||||||
|
(name "clight")
|
||||||
|
(version "4.9")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method git-fetch)
|
||||||
|
(uri (git-reference
|
||||||
|
(url "https://github.com/FedeDP/Clight.git")
|
||||||
|
(commit version)))
|
||||||
|
(file-name (git-file-name name version))))
|
||||||
|
(build-system cmake-build-system)
|
||||||
|
(native-inputs
|
||||||
|
`(("pkg-config" ,pkg-config)
|
||||||
|
("gcc" ,gcc)
|
||||||
|
("libsystemd" ,libsystemd)
|
||||||
|
("libpopt" ,popt)
|
||||||
|
("gsl" ,gsl)
|
||||||
|
("libconfig" ,libconfig)
|
||||||
|
("libmodule" ,libmodule)
|
||||||
|
("cmake" ,cmake)
|
||||||
|
("bash-completion" ,bash-completion)
|
||||||
|
("fish" ,fish)
|
||||||
|
("systemd" ,systemd)))
|
||||||
|
(inputs
|
||||||
|
`(("bash-completion" ,bash-completion)
|
||||||
|
("fish" ,fish)))
|
||||||
|
(arguments
|
||||||
|
`(#:configure-flags
|
||||||
|
`("-DCMAKE_INSTALL_PREFIX=/usr"
|
||||||
|
"-DCMAKE_INSTALL_LIBDIR=lib"
|
||||||
|
"-DCMAKE_BUILD_TYPE=Release")
|
||||||
|
#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-before 'configure 'setup-env
|
||||||
|
(lambda _
|
||||||
|
(setenv "CC" (which "gcc"))
|
||||||
|
(setenv "CXX" (which "g++"))
|
||||||
|
(setenv "LD" (which "ld"))
|
||||||
|
(setenv "AR" (which "ar"))
|
||||||
|
(setenv "RANLIB" (which "ranlib"))
|
||||||
|
(setenv "LDFLAGS" "-lgcc -lgcc_s -lc")
|
||||||
|
(setenv "CMAKE_SKIP_INSTALL_RPATH" "TRUE")
|
||||||
|
(setenv "CMAKE_SKIP_BUILD_RPATH" "TRUE")
|
||||||
|
(setenv "CMAKE_SKIP_RPATH" "TRUE"))))))
|
||||||
|
(synopsis "Daemon that adjusts screen brightness according to your surroundings.")
|
||||||
|
(description "...")
|
||||||
|
(home-page "https://github.com/FedeDP/Clight")
|
||||||
|
(license license:mit)))
|
|
@ -83,7 +83,7 @@ its core.")
|
||||||
(define-public signal-desktop
|
(define-public signal-desktop
|
||||||
(package
|
(package
|
||||||
(name "signal-desktop")
|
(name "signal-desktop")
|
||||||
(version "7.57.0")
|
(version "7.58.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
|
@ -92,7 +92,7 @@ its core.")
|
||||||
"https://updates.signal.org/desktop/apt/pool/s/" name "/" name "_" version
|
"https://updates.signal.org/desktop/apt/pool/s/" name "/" name "_" version
|
||||||
"_amd64.deb"))
|
"_amd64.deb"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "0xy4xfyx58v0869x0inypy9rgnbcxzrdnfh3r8qq00640wfj9j2c"))))
|
(base32 "1bhh9z7mclxlzq4pfs695pnkb5x36wm5ihniydvzqqi2g3xjbqam"))))
|
||||||
(supported-systems '("x86_64-linux"))
|
(supported-systems '("x86_64-linux"))
|
||||||
(build-system chromium-binary-build-system)
|
(build-system chromium-binary-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
|
|
|
@ -228,9 +228,9 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\
|
||||||
(define-public nvidia-driver
|
(define-public nvidia-driver
|
||||||
(package
|
(package
|
||||||
(name "nvidia-driver")
|
(name "nvidia-driver")
|
||||||
(version "570.153.02")
|
(version "570.169")
|
||||||
(source (nvidia-source
|
(source (nvidia-source
|
||||||
version "1dp1bpx4scx7lzqnajn75q5zjlbfvpjych3ils7zlxlmyvj8d20l"))
|
version "0r9phz9rv0n208f61lvv3m492387mjmqk4gph3ww7iawg53shcjz"))
|
||||||
(build-system copy-build-system)
|
(build-system copy-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:modules '((guix build copy-build-system)
|
(list #:modules '((guix build copy-build-system)
|
||||||
|
@ -627,9 +627,9 @@ add @code{nvidia_drm.modeset=1} to @code{kernel-arguments} as well.")
|
||||||
(define-public nvidia-settings
|
(define-public nvidia-settings
|
||||||
(package
|
(package
|
||||||
(name "nvidia-settings")
|
(name "nvidia-settings")
|
||||||
(version "570.153.02")
|
(version "570.169")
|
||||||
(source (nvidia-settings-source
|
(source (nvidia-settings-source
|
||||||
name version "1qvvsrhlswpnv9aldqnynjch8y1x219ccsk3w4rfrw3swxm9qvp6"))
|
name version "15sxzczan9kq55hyiq73arls95lsdakpfbbzf4b6741fjfgd8kfh"))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list #:tests? #f ;no test suite
|
(list #:tests? #f ;no test suite
|
||||||
|
|
|
@ -2,6 +2,8 @@
|
||||||
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
|
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
|
||||||
|
|
||||||
(define-module (nonguix transformations)
|
(define-module (nonguix transformations)
|
||||||
|
#:use-module (srfi srfi-1)
|
||||||
|
#:use-module (srfi srfi-26)
|
||||||
#:use-module (guix channels)
|
#:use-module (guix channels)
|
||||||
#:use-module (guix diagnostics)
|
#:use-module (guix diagnostics)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
|
@ -74,10 +76,11 @@ FIXME: GUIX-SOURCE? is disabled by default due to performance issue."
|
||||||
(cons %nonguix-signing-key
|
(cons %nonguix-signing-key
|
||||||
(guix-configuration-authorized-keys config)))
|
(guix-configuration-authorized-keys config)))
|
||||||
(substitute-urls
|
(substitute-urls
|
||||||
`(,@(guix-configuration-substitute-urls config)
|
(delete-duplicates
|
||||||
,@(if substitutes?
|
`(,@(guix-configuration-substitute-urls config)
|
||||||
'("https://substitutes.nonguix.org")
|
,@(if substitutes?
|
||||||
'()))))))))))
|
'("https://substitutes.nonguix.org")
|
||||||
|
'())))))))))))
|
||||||
|
|
||||||
(define* (nonguix-transformation-linux #:key (linux linux)
|
(define* (nonguix-transformation-linux #:key (linux linux)
|
||||||
(firmware (list linux-firmware))
|
(firmware (list linux-firmware))
|
||||||
|
@ -128,11 +131,13 @@ TODO: Xorg configuration."
|
||||||
(operating-system
|
(operating-system
|
||||||
(inherit os)
|
(inherit os)
|
||||||
(kernel-arguments
|
(kernel-arguments
|
||||||
`("modprobe.blacklist=nouveau"
|
(delete-duplicates
|
||||||
,@(if kernel-mode-setting?
|
(cons* "modprobe.blacklist=nouveau"
|
||||||
'("nvidia_drm.modeset=1")
|
(string-append
|
||||||
'())
|
"nvidia_drm.modeset=" (if kernel-mode-setting? "1" "0"))
|
||||||
,@(operating-system-user-kernel-arguments os)))
|
(remove
|
||||||
|
(cut string-prefix? "nvidia_drm.modeset=" <>)
|
||||||
|
(operating-system-user-kernel-arguments os)))))
|
||||||
(services
|
(services
|
||||||
`(,(or (assoc-ref %presets driver)
|
`(,(or (assoc-ref %presets driver)
|
||||||
(leave
|
(leave
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue