Compare commits

..

No commits in common. "8761dd3db5d43465487b7f2aaab804ffe104ff2c" and "ee083f82790698ba03ad199c1ac0d8974bd1963f" have entirely different histories.

4 changed files with 4 additions and 63 deletions

View File

@ -1,12 +0,0 @@
{ lib, config, pkgs, ...}:
{
imports = [
../common/desktop.nix
];
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
networking.hostName = "mainsail";
}

View File

@ -8,21 +8,6 @@
../common/steam.nix ../common/steam.nix
]; ];
environment.systemPackages = with pkgs; [
wine
xdotool
qemu
virt-manager
gnome.cheese
calyx-vpn
android-studio
emacs
deepin.deepin-album
nomacs
vscodium
];
boot.loader = { boot.loader = {
efi = { efi = {
canTouchEfiVariables = true; canTouchEfiVariables = true;
@ -34,9 +19,5 @@
}; };
}; };
virtualisation.libvirtd.enable = true;
programs.dconf.enable = true;
users.users.usr.extraGroups = [ "libvirtd" ];
networking.hostName = "mlg"; networking.hostName = "mlg";
} }

View File

@ -1,6 +1,5 @@
#!/bin/sh #!/bin/sh
printf "%s\n" "$1"
pash c "$1" pash c "$1"
bspc node -d '^9' bspc node -d '^9'
sleep 15 sleep 15

View File

@ -11,8 +11,6 @@
(menu-bar-mode -1) (menu-bar-mode -1)
(tool-bar-mode -1) (tool-bar-mode -1)
(scroll-bar-mode -1) (scroll-bar-mode -1)
(setq auto-save-default nil)
(add-hook 'prog-mode-hook 'display-line-numbers-mode)
(defun keymap-symbol (keymap) (defun keymap-symbol (keymap)
"Return the symbol to which KEYMAP is bound, or nil if no such symbol exists." "Return the symbol to which KEYMAP is bound, or nil if no such symbol exists."
@ -46,19 +44,10 @@
(package-install 'anaconda-mode)) (package-install 'anaconda-mode))
(unless (package-installed-p 'company-anaconda) (unless (package-installed-p 'company-anaconda)
(package-install 'company-anaconda)) (package-install 'company-anaconda))
(unless (package-installed-p 'calfw)
(package-install 'calfw))
(unless (package-installed-p 'calfw-org)
(package-install 'calfw-org))
(unless (package-installed-p 'calfw-ical)
(package-install 'calfw-ical))
;; activate packages ;; activate packages
(require 'evil) (require 'evil)
(require 'org) (require 'org)
(require 'calfw)
(require 'calfw-org)
(require 'calfw-ical)
(require 'org-drill) (require 'org-drill)
(require 'accent) (require 'accent)
(require 'elfeed) (require 'elfeed)
@ -79,12 +68,8 @@
(evil-set-leader 'normal (kbd "<SPC>")) (evil-set-leader 'normal (kbd "<SPC>"))
(defun configreload () (interactive) (load "~/.config/emacs/init.el")) (defun configreload () (interactive) (load "~/.config/emacs/init.el"))
(defun configread () (interactive) (find-file-noselect "~/dot_testing/config/emacs/init.el"))
(defun nixrebuild () (interactive) (term "rebuild"))
(evil-define-key 'normal 'global (kbd "<leader>rr") 'configreload) (evil-define-key 'normal 'global (kbd "<leader>rr") 'configreload)
(evil-define-key 'normal 'global (kbd "<leader>re") 'configread)
(evil-define-key 'normal 'global (kbd "<leader>nrr") 'nixrebuild)
(evil-ex-define-cmd "get-current-mapping" 'get-local-map) (evil-ex-define-cmd "get-current-mapping" 'get-local-map)
(evil-mode 1) (evil-mode 1)
@ -102,26 +87,14 @@
(add-to-list 'company-backends 'company-anaconda) (add-to-list 'company-backends 'company-anaconda)
(add-hook 'python-mode-hook 'anaconda-mode) (add-hook 'python-mode-hook 'anaconda-mode)
;; org ;; org
(setq org-agenda-files '("~/org")) (setq org-agenda-files '("~/org"))
(setq calendar-week-start-day 1) (setq calendar-week-start-day 1)
(setq org-todo-keywords '((type "MEETING" "CLASS" "TODO" "REHERSAL" "|" "DONE"))) (setq org-todo-keywords '((type "MEETING" "CLASS" "TODO" "REHERSAL" "|" "DONE")))
(setq org-return-follows-link t) (setq org-return-follows-link t)
;; calfw
(defun google-calendar (id) (concatenate 'string "https://calendar.google.com/calendar/ical/" id "%40group.calendar.google.com/public/basic.ics"))
(defun my-open-calendar ()
(interactive)
(cfw:open-calendar-buffer
:contents-sources
(list
(cfw:org-create-source "Green")
(cfw:ical-create-source "wcs" (google-calendar "c_037e243v5md54rj8kp1k898oo4") "IndianRed")
(cfw:ical-create-source "band" (google-calendar "i6bong6iferbcuf1u25jg47t7k") "Blue")
(cfw:ical-create-source "schoology" "https://wcschools.schoology.com/calendar/feed/ical/1692031887/ef3eab3f5ac45935472a9fa6f601a63a/ical.ics" "Yellow")
)))
;; emms ;; emms
(require 'emms-player-simple) (require 'emms-player-simple)
(require 'emms-source-file) (require 'emms-source-file)
@ -143,11 +116,11 @@
"https://digitallibrary.un.org/rss?ln=en&p=libya&rg=50&c=Resource%20Type&c=UN%20Bodies" "https://digitallibrary.un.org/rss?ln=en&p=libya&rg=50&c=Resource%20Type&c=UN%20Bodies"
"https://planet.emacslife.com/atom.xml")) "https://planet.emacslife.com/atom.xml"))
(setq elfeed-db-directory "~/.cache/elfeed")
;; - accent.el ;; - accent.el
(evil-define-key 'insert 'global (kbd "C-k") 'accent-menu) (evil-define-key 'insert 'global (kbd "C-k") 'accent-menu)
;; fonts ;; fonts
(set-face-attribute 'default nil (set-face-attribute 'default nil
:font "Fantasque Sans Mono 10" :font "Fantasque Sans Mono 10"