From 600c4b820040a8d26e2e3a13ff341810a0ba1293 Mon Sep 17 00:00:00 2001 From: Ryan Schanzenbacher Date: Sun, 3 Sep 2023 22:54:31 -0400 Subject: added aliases and renamed files to match hostname --- RyanLaptop.scm | 24 ++++++++++++++++++++++++ RyanThinkpad.scm | 24 ++++++++++++++++++++++++ home-config/bashrc | 2 ++ mainlaptop.scm | 24 ------------------------ thinkpad.scm | 24 ------------------------ 5 files changed, 50 insertions(+), 48 deletions(-) create mode 100644 RyanLaptop.scm create mode 100644 RyanThinkpad.scm delete mode 100644 mainlaptop.scm delete mode 100644 thinkpad.scm diff --git a/RyanLaptop.scm b/RyanLaptop.scm new file mode 100644 index 0000000..11650bc --- /dev/null +++ b/RyanLaptop.scm @@ -0,0 +1,24 @@ +(use-modules (ryan-config base-system) + (gnu)) + +(operating-system + (inherit base-operating-system) + (host-name "RyanLaptop") + (mapped-devices (list (mapped-device + (source (uuid + "4de50ae4-e6f5-4f0c-ba4b-dd97b44a2ef2")) + (target "sysroot") + (type luks-device-mapping)))) + (file-systems (cons* (file-system + (mount-point "/") + (device "/dev/mapper/sysroot") + (type "ext4") + (dependencies mapped-devices)) + (file-system + (mount-point "/boot/efi") + (device (uuid "4C53-D400" + 'fat32)) + (type "vfat")) %base-file-systems)) + (swap-devices + (list + (swap-space (target (uuid "6758bed3-9ff2-49a0-9cc3-7c48eaee6c4a")))))) diff --git a/RyanThinkpad.scm b/RyanThinkpad.scm new file mode 100644 index 0000000..bfacd6b --- /dev/null +++ b/RyanThinkpad.scm @@ -0,0 +1,24 @@ +(use-modules (ryan-config base-system) + (gnu)) + +(operating-system + (inherit base-operating-system) + (host-name "RyanThinkpad") + (mapped-devices (list (mapped-device + (source (uuid + "adcaf322-7ee5-48ec-abf6-4a9b10643878")) + (target "sysroot") + (type luks-device-mapping)))) + (file-systems (cons* (file-system + (mount-point "/") + (device "/dev/mapper/sysroot") + (type "ext4") + (dependencies mapped-devices)) + (file-system + (mount-point "/boot/efi") + (device (uuid "DFE8-32EF" + 'fat32)) + (type "vfat")) %base-file-systems)) + (swap-devices + (list + (swap-space (target (uuid "7e1bb7c5-da2a-4509-8263-f707fc752993")))))) diff --git a/home-config/bashrc b/home-config/bashrc index f52ed48..12c9cf9 100644 --- a/home-config/bashrc +++ b/home-config/bashrc @@ -38,6 +38,8 @@ alias grep='grep --color=auto' alias quit='exit' export EDITOR=nvim alias cat='bat --paging=never' +alias ds='sudo -E guix system -L ~/.config/guix/modules reconfigure ~/.config/guix/$(hostname).scm' +alias dh='guix home -L ~/.config/guix/modules reconfigure ~/.config/guix/home-config/home-configuration.scm && home-manager switch' export XDG_DATA_DIRS=$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:/home/ryan/.local/share/flatpak/exports/share # GPG SETUP FOR SSH diff --git a/mainlaptop.scm b/mainlaptop.scm deleted file mode 100644 index 11650bc..0000000 --- a/mainlaptop.scm +++ /dev/null @@ -1,24 +0,0 @@ -(use-modules (ryan-config base-system) - (gnu)) - -(operating-system - (inherit base-operating-system) - (host-name "RyanLaptop") - (mapped-devices (list (mapped-device - (source (uuid - "4de50ae4-e6f5-4f0c-ba4b-dd97b44a2ef2")) - (target "sysroot") - (type luks-device-mapping)))) - (file-systems (cons* (file-system - (mount-point "/") - (device "/dev/mapper/sysroot") - (type "ext4") - (dependencies mapped-devices)) - (file-system - (mount-point "/boot/efi") - (device (uuid "4C53-D400" - 'fat32)) - (type "vfat")) %base-file-systems)) - (swap-devices - (list - (swap-space (target (uuid "6758bed3-9ff2-49a0-9cc3-7c48eaee6c4a")))))) diff --git a/thinkpad.scm b/thinkpad.scm deleted file mode 100644 index bfacd6b..0000000 --- a/thinkpad.scm +++ /dev/null @@ -1,24 +0,0 @@ -(use-modules (ryan-config base-system) - (gnu)) - -(operating-system - (inherit base-operating-system) - (host-name "RyanThinkpad") - (mapped-devices (list (mapped-device - (source (uuid - "adcaf322-7ee5-48ec-abf6-4a9b10643878")) - (target "sysroot") - (type luks-device-mapping)))) - (file-systems (cons* (file-system - (mount-point "/") - (device "/dev/mapper/sysroot") - (type "ext4") - (dependencies mapped-devices)) - (file-system - (mount-point "/boot/efi") - (device (uuid "DFE8-32EF" - 'fat32)) - (type "vfat")) %base-file-systems)) - (swap-devices - (list - (swap-space (target (uuid "7e1bb7c5-da2a-4509-8263-f707fc752993")))))) -- cgit v1.2.3