From 46b92ff0207e55e3fce49c4dbd66a57749d1a772 Mon Sep 17 00:00:00 2001 From: Ekaitz Zarraga Date: Wed, 4 Mar 2020 13:26:01 +0100 Subject: First steps --- README.md | 3 +++ config.scm | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 69 insertions(+) create mode 100644 README.md create mode 100644 config.scm diff --git a/README.md b/README.md new file mode 100644 index 0000000..c291270 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# My guix configuration + +Probably going to obsolete my dotfiles diff --git a/config.scm b/config.scm new file mode 100644 index 0000000..98d7867 --- /dev/null +++ b/config.scm @@ -0,0 +1,66 @@ +;; This is an operating system configuration generated +;; by the graphical installer. +(use-modules (gnu) + (nongnu packages linux) + (nongnu system linux-initrd)) +(use-service-modules desktop networking ssh xorg) + +(operating-system + (kernel linux) + (initrd microcode-initrd) + (firmware (cons* iwlwifi-firmware + %base-firmware)) + + (locale "en_US.utf8") + (timezone "Europe/Madrid") + (keyboard-layout + (keyboard-layout "es" "nodeadkeys")) + (bootloader + (bootloader-configuration + (bootloader grub-efi-bootloader) + (target "/boot/efi") + (keyboard-layout keyboard-layout))) + (swap-devices (list "/dev/sda3")) + (file-systems + (cons* (file-system + (mount-point "/boot/efi") + (device (uuid "6BB8-3AFE" 'fat32)) + (type "vfat")) + (file-system + (mount-point "/") + (device + (uuid "eee511d3-b473-4bc0-ba63-bf3971341576" + 'ext4)) + (type "ext4")) + (file-system + (mount-point "/home") + (device + (uuid "abed4b79-5f03-409f-84ee-7cb0b3af72af" + 'ext4)) + (type "ext4")) + %base-file-systems)) + (host-name "tuxedo") + (hosts-file + (plain-file "hosts" + (string-append (local-host-aliases host-name) + "51.255.193.230 vps\n"))) + + (users (cons* (user-account + (name "Ekaitz") + (comment "Ekaitz") + (group "users") + (home-directory "/home/Ekaitz") + (supplementary-groups + '("wheel" "netdev" "audio" "video"))) + %base-user-accounts)) + (packages + (append + (map specification->package + '("htop" "neovim" "nss-certs" "tree" "tcpdump" "openssh")) + %base-packages)) + + (services (append (list (service gnome-desktop-service-type) + (set-xorg-configuration + (xorg-configuration + (keyboard-layout keyboard-layout)))) + %desktop-services))) -- cgit v1.2.3