Compare commits
2 commits
44aa6ed6e0
...
e8323e1fdc
Author | SHA1 | Date | |
---|---|---|---|
e8323e1fdc | |||
838fb30d39 |
4 changed files with 16 additions and 16 deletions
|
@ -140,24 +140,24 @@
|
||||||
;;(haskell +lsp) ; a language that's lazier than I am
|
;;(haskell +lsp) ; a language that's lazier than I am
|
||||||
;;hy ; readability of scheme w/ speed of python
|
;;hy ; readability of scheme w/ speed of python
|
||||||
;;idris ; a language you can depend on
|
;;idris ; a language you can depend on
|
||||||
;;json ; At least it ain't XML
|
json ; At least it ain't XML
|
||||||
;;(java +lsp) ; the poster child for carpal tunnel syndrome
|
;;(java +lsp) ; the poster child for carpal tunnel syndrome
|
||||||
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
;;julia ; a better, faster MATLAB
|
;;julia ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;kotlin ; a better, slicker Java(Script)
|
||||||
;;latex ; writing papers in Emacs has never been so fun
|
latex ; writing papers in Emacs has never been so fun
|
||||||
;;lean ; for folks with too much to prove
|
;;lean ; for folks with too much to prove
|
||||||
;;ledger ; be audit you can be
|
;;ledger ; be audit you can be
|
||||||
;;lua ; one-based indices? one-based indices
|
;;lua ; one-based indices? one-based indices
|
||||||
markdown ; writing docs for people to ignore
|
markdown ; writing docs for people to ignore
|
||||||
;;nim ; python + lisp at the speed of c
|
;;nim ; python + lisp at the speed of c
|
||||||
;;nix ; I hereby declare "nix geht mehr!"
|
nix ; I hereby declare "nix geht mehr!"
|
||||||
;;ocaml ; an objective camel
|
;;ocaml ; an objective camel
|
||||||
org ; organize your plain life in plain text
|
org ; organize your plain life in plain text
|
||||||
;;php ; perl's insecure younger brother
|
;;php ; perl's insecure younger brother
|
||||||
;;plantuml ; diagrams for confusing people more
|
;;plantuml ; diagrams for confusing people more
|
||||||
;;purescript ; javascript, but functional
|
;;purescript ; javascript, but functional
|
||||||
;;python ; beautiful is better than ugly
|
python ; beautiful is better than ugly
|
||||||
;;qt ; the 'cutest' gui framework ever
|
;;qt ; the 'cutest' gui framework ever
|
||||||
;;racket ; a DSL for DSLs
|
;;racket ; a DSL for DSLs
|
||||||
;;raku ; the artist formerly known as perl6
|
;;raku ; the artist formerly known as perl6
|
||||||
|
@ -173,7 +173,7 @@
|
||||||
;;swift ; who asked for emoji variables?
|
;;swift ; who asked for emoji variables?
|
||||||
;;terra ; Earth and Moon in alignment for performance.
|
;;terra ; Earth and Moon in alignment for performance.
|
||||||
;;web ; the tubes
|
;;web ; the tubes
|
||||||
;;yaml ; JSON, but readable
|
yaml ; JSON, but readable
|
||||||
;;zig ; C, but simpler
|
;;zig ; C, but simpler
|
||||||
|
|
||||||
:email
|
:email
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, lib, fetchFromGitHub, ... }:
|
{ pkgs, lib, config, configDir, fetchFromGitHub, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.emacs.enable = true;
|
programs.emacs.enable = true;
|
||||||
|
@ -7,12 +7,10 @@
|
||||||
if [ ! -d .emacs.d ]; then
|
if [ ! -d .emacs.d ]; then
|
||||||
git clone --depth 1 https://github.com/doomemacs/doomemacs .emacs.d
|
git clone --depth 1 https://github.com/doomemacs/doomemacs .emacs.d
|
||||||
fi
|
fi
|
||||||
|
mkdir -p .doom.d
|
||||||
|
ln -sf ${config.home.homeDirectory}/${configDir}/emacs/.doom.d/* .doom.d
|
||||||
'';
|
'';
|
||||||
home.file = {
|
home.file = {
|
||||||
".doom.d" = {
|
|
||||||
source = ./.doom.d;
|
|
||||||
recursive = true;
|
|
||||||
};
|
|
||||||
".emacs.d/everforest".source = pkgs.fetchFromGitHub {
|
".emacs.d/everforest".source = pkgs.fetchFromGitHub {
|
||||||
owner = "Theory-of-Everything";
|
owner = "Theory-of-Everything";
|
||||||
repo = "everforest-emacs";
|
repo = "everforest-emacs";
|
||||||
|
|
|
@ -12,10 +12,11 @@
|
||||||
outputs = inputs@{ self, nixpkgs, home-manager }:
|
outputs = inputs@{ self, nixpkgs, home-manager }:
|
||||||
let
|
let
|
||||||
user = "elnu";
|
user = "elnu";
|
||||||
|
configDir = "nix-config";
|
||||||
in {
|
in {
|
||||||
nixosConfigurations = import ./hosts {
|
nixosConfigurations = import ./hosts {
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
inherit inputs nixpkgs home-manager user;
|
inherit inputs nixpkgs home-manager user configDir;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, inputs, nixpkgs, home-manager, user, ... }:
|
{ lib, inputs, nixpkgs, home-manager, user, configDir, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
@ -10,6 +10,7 @@ let
|
||||||
hmImports = [
|
hmImports = [
|
||||||
(import ./home.nix)
|
(import ./home.nix)
|
||||||
];
|
];
|
||||||
|
hmArgs = { inherit user configDir; };
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
desktop = lib.nixosSystem {
|
desktop = lib.nixosSystem {
|
||||||
|
@ -26,7 +27,7 @@ in
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = { inherit user; };
|
extraSpecialArgs = hmArgs;
|
||||||
users.${user} = {
|
users.${user} = {
|
||||||
imports = hmImports ++ [
|
imports = hmImports ++ [
|
||||||
(import ./desktop/home.nix)
|
(import ./desktop/home.nix)
|
||||||
|
@ -55,7 +56,7 @@ in
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = { inherit user; };
|
extraSpecialArgs = hmArgs;
|
||||||
users.${user} = {
|
users.${user} = {
|
||||||
imports = hmImports ++ [
|
imports = hmImports ++ [
|
||||||
(import ./thinkpads/home.nix)
|
(import ./thinkpads/home.nix)
|
||||||
|
@ -80,7 +81,7 @@ in
|
||||||
home-manager.nixosModules.home-manager {
|
home-manager.nixosModules.home-manager {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = { inherit user; };
|
extraSpecialArgs = hmArgs;
|
||||||
users.${user} = {
|
users.${user} = {
|
||||||
imports = hmImports ++ [
|
imports = hmImports ++ [
|
||||||
(import ./thinkpads/home.nix)
|
(import ./thinkpads/home.nix)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue