diff options
Diffstat (limited to 'users')
-rw-r--r-- | users/id1000.scm (renamed from users/marekpasnikowski.scm) | 60 | ||||
-rw-r--r-- | users/uid1000-gitconfig (renamed from users/marekpasnikowski-gitconfig) | 0 | ||||
-rw-r--r-- | users/uid1000-gitignore (renamed from users/marekpasnikowski-gitignore) | 0 |
3 files changed, 35 insertions, 25 deletions
diff --git a/users/marekpasnikowski.scm b/users/id1000.scm index e259d55..ae1e32c 100644 --- a/users/marekpasnikowski.scm +++ b/users/id1000.scm @@ -1,42 +1,52 @@ -(define-module (users marekpasnikowski) - #:use-module (gnu home) ; home-environment - #:use-module (gnu home services) ; home-profile-service-type - ; home-xdg-configuration-files-service-type - #:use-module (gnu packages emacs) ; emacs - #:use-module (gnu packages emacs-xyz) ; emacs-org-roam - ; emacs-paredit - #:use-module (gnu packages librewolf) ; librewolf - #:use-module (gnu packages version-control) ; git - #:use-module (gnu services) ; service - ; simple-service - #:use-module (gnu system shadow) ; user-account - #:use-module (guix gexp) ; file-append - #:use-module (suweren home) ; %suweren-home-services - ) +(define-module (users id1000) + ;; home-environment + #:use-module (gnu home) + + ;; home-profile-service-type + ;; home-xdg-configuration-files-service-type + #:use-module (gnu home services) + + ;; emacs + #:use-module (gnu packages emacs) + + ;; emacs-org-roam + ;; emacs-paredit + #:use-module (gnu packages emacs-xyz) + + ;; git + #:use-module (gnu packages version-control) + + ;; simple-service + #:use-module (gnu services) + + ;; user-account + #:use-module (gnu system shadow) + + ;; local-file + #:use-module (guix gexp) + + ;; %suweren-home-services + #:use-module (suweren home)) ;; string -(define-public marekpasnikowski-username +(define-public uid1000-name "marek") ;; (string) -> ;; record user-account -(define-public (marekpasnikowski-account supplementary-groups*) - (user-account (name marekpasnikowski-username) +(define-public (uid1000-account supplementary-groups*) + (user-account (name uid1000-name) (group "users") (supplementary-groups supplementary-groups*) (uid 1000) (comment "Marek Paśnikowski") (home-directory "/home/marek"))) -;; string -(define-public user - "marek") - ;; record home-environment -(define-public marekpasnikowski-home-environment +(define-public uid1000-home-environment (lambda (host-name*) - (let* ((gitconfig-file (local-file "marekpasnikowski-gitconfig")) ; TODO modularize - (gitignore-file (local-file "marekpasnikowski-gitignore")) ; TODO review the contents + (let* ((gitconfig-file (local-file "uid1000-gitconfig")) ; TODO modularize + (gitignore-file (local-file "uid1000-gitignore")) ; TODO review the contents (gitconfig (list "git/config" gitconfig-file)) diff --git a/users/marekpasnikowski-gitconfig b/users/uid1000-gitconfig index 300f906..300f906 100644 --- a/users/marekpasnikowski-gitconfig +++ b/users/uid1000-gitconfig diff --git a/users/marekpasnikowski-gitignore b/users/uid1000-gitignore index 98e588f..98e588f 100644 --- a/users/marekpasnikowski-gitignore +++ b/users/uid1000-gitignore |