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
|
||||
(package
|
||||
(name "signal-desktop")
|
||||
(version "7.57.0")
|
||||
(version "7.58.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -92,7 +92,7 @@ its core.")
|
|||
"https://updates.signal.org/desktop/apt/pool/s/" name "/" name "_" version
|
||||
"_amd64.deb"))
|
||||
(sha256
|
||||
(base32 "0xy4xfyx58v0869x0inypy9rgnbcxzrdnfh3r8qq00640wfj9j2c"))))
|
||||
(base32 "1bhh9z7mclxlzq4pfs695pnkb5x36wm5ihniydvzqqi2g3xjbqam"))))
|
||||
(supported-systems '("x86_64-linux"))
|
||||
(build-system chromium-binary-build-system)
|
||||
(arguments
|
||||
|
|
|
@ -228,9 +228,9 @@ ACTION==\"unbind\", SUBSYSTEM==\"pci\", ATTR{vendor}==\"0x10de\", ATTR{class}==\
|
|||
(define-public nvidia-driver
|
||||
(package
|
||||
(name "nvidia-driver")
|
||||
(version "570.153.02")
|
||||
(version "570.169")
|
||||
(source (nvidia-source
|
||||
version "1dp1bpx4scx7lzqnajn75q5zjlbfvpjych3ils7zlxlmyvj8d20l"))
|
||||
version "0r9phz9rv0n208f61lvv3m492387mjmqk4gph3ww7iawg53shcjz"))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
(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
|
||||
(package
|
||||
(name "nvidia-settings")
|
||||
(version "570.153.02")
|
||||
(version "570.169")
|
||||
(source (nvidia-settings-source
|
||||
name version "1qvvsrhlswpnv9aldqnynjch8y1x219ccsk3w4rfrw3swxm9qvp6"))
|
||||
name version "15sxzczan9kq55hyiq73arls95lsdakpfbbzf4b6741fjfgd8kfh"))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
(list #:tests? #f ;no test suite
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
;;; Copyright © 2025 Hilton Chain <hako@ultrarare.space>
|
||||
|
||||
(define-module (nonguix transformations)
|
||||
#:use-module (srfi srfi-1)
|
||||
#:use-module (srfi srfi-26)
|
||||
#:use-module (guix channels)
|
||||
#:use-module (guix diagnostics)
|
||||
#:use-module (guix gexp)
|
||||
|
@ -74,10 +76,11 @@ FIXME: GUIX-SOURCE? is disabled by default due to performance issue."
|
|||
(cons %nonguix-signing-key
|
||||
(guix-configuration-authorized-keys config)))
|
||||
(substitute-urls
|
||||
(delete-duplicates
|
||||
`(,@(guix-configuration-substitute-urls config)
|
||||
,@(if substitutes?
|
||||
'("https://substitutes.nonguix.org")
|
||||
'()))))))))))
|
||||
'())))))))))))
|
||||
|
||||
(define* (nonguix-transformation-linux #:key (linux linux)
|
||||
(firmware (list linux-firmware))
|
||||
|
@ -128,11 +131,13 @@ TODO: Xorg configuration."
|
|||
(operating-system
|
||||
(inherit os)
|
||||
(kernel-arguments
|
||||
`("modprobe.blacklist=nouveau"
|
||||
,@(if kernel-mode-setting?
|
||||
'("nvidia_drm.modeset=1")
|
||||
'())
|
||||
,@(operating-system-user-kernel-arguments os)))
|
||||
(delete-duplicates
|
||||
(cons* "modprobe.blacklist=nouveau"
|
||||
(string-append
|
||||
"nvidia_drm.modeset=" (if kernel-mode-setting? "1" "0"))
|
||||
(remove
|
||||
(cut string-prefix? "nvidia_drm.modeset=" <>)
|
||||
(operating-system-user-kernel-arguments os)))))
|
||||
(services
|
||||
`(,(or (assoc-ref %presets driver)
|
||||
(leave
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue