This commit is contained in:
Tristan D. 2023-11-09 19:33:08 +01:00
parent 353745a364
commit 35389d2bbb
Signed by: tristan
SSH key fingerprint: SHA256:U7y6eMb7CQDaTHv9XoX6/BaQnPqyxxKc+Xnfcefi6rY
8 changed files with 64 additions and 79 deletions

View file

@ -1,5 +1,6 @@
# ToDo's # ToDo's
- this looks awesome: https://github.com/erictossell/nixflakes/tree/main
- https://nixos.wiki/wiki/Binary_Cache - https://nixos.wiki/wiki/Binary_Cache
- build a good abstraction for systems - build a good abstraction for systems
- allows setting nixpkgs.localSystem per systems - allows setting nixpkgs.localSystem per systems

12
flake.lock generated
View file

@ -31,11 +31,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1699378729, "lastModified": 1699436319,
"narHash": "sha256-WH3CEdPqp1wQeE5hi0yik+MwwSQelFUZCnB3Iqwa1wE=", "narHash": "sha256-gRYGKnYfXE1dugjGJ0Xx5P3x3BOT505gxEFxDBohSiM=",
"owner": "nix-community", "owner": "nix-community",
"repo": "emacs-overlay", "repo": "emacs-overlay",
"rev": "4f81073c44bfa46c97cdd739345e6dc05494c69a", "rev": "dc09405b5f031852d3e930b1fa91e973b5206ef8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -296,11 +296,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1699388282, "lastModified": 1699450798,
"narHash": "sha256-alOfCpz7ZU/oTks9HOlTsiooR41xAju3gPwoWnMzapo=", "narHash": "sha256-kNunBwAmToJjX+7aMwO/W9U2ZMw6ym9H9XIJgrfvjUY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "7b7f05a1669f4552b22490b271683dd0f0d0833a", "rev": "3cfab74a8aafa5b6229f47582cc9d9b22085a577",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -3,14 +3,15 @@
, inputs , inputs
, ... , ...
}: { }: {
xdg.configFile."easyeffects/output/quiet.json".source = ./default.json; # xdg.configFile."easyeffects/output/default.json".source = ./default.json;
services.easyeffects = { services.easyeffects = {
enable = true; enable = true;
preset = "default"; # preset = "default";
package = pkgs.unstable-pkgs.easyeffects; package = pkgs.unstable-pkgs.easyeffects;
}; };
home.packages = with pkgs.unstable-pkgs; [ home.packages = with pkgs.unstable-pkgs; [
spotify spotify
ncspot
]; ];
} }

View file

@ -4,4 +4,5 @@
, ... , ...
}: { }: {
home.homeDirectory = "/home/${config.home.username}"; home.homeDirectory = "/home/${config.home.username}";
xdg.enable = true;
} }

View file

@ -1,68 +0,0 @@
{ lib
, pkgs
, config
, inputs
, ...
}: {
xdg.enable = true;
programs.alacritty = {
enable = true;
settings = {
window.opacity = 0.88;
window.dimensions = {
lines = 40;
columns = 150;
};
};
};
services = {
emacs = {
package = lib.mkForce pkgs.unstable-pkgs.emacs-unstable-pgtk;
};
};
home = {
sessionVariables = {
TERMINAL = "alacritty";
};
packages = with pkgs.unstable-pkgs; [
any-nix-shell
atool
aspell
aspellDicts.en
aspellDicts.en-computers
aspellDicts.en-science
aspellDicts.de
binutils
cmake
curl
direnv
emacs-unstable-pgtk
fd
gnutls
gnumake
gcc
imagemagick
libtool
nodejs_20
nil
nixpkgs-fmt
pandoc
python311Full
rcm
(lib.mkIf config.services.gpg-agent.enable
pinentry-emacs)
(ripgrep.override { withPCRE2 = true; })
shellcheck
shfmt
statix
texlive.combined.scheme-full
tokei
wget
wl-clipboard
zstd
];
};
}

View file

@ -18,6 +18,17 @@ let
in in
{ {
programs = { programs = {
alacritty = {
enable = true;
settings = {
window.opacity = 0.88;
window.dimensions = {
lines = 40;
columns = 150;
};
};
};
rbw = { rbw = {
enable = true; enable = true;
settings = { settings = {
@ -123,7 +134,7 @@ in
emacs = { emacs = {
enable = true; enable = true;
defaultEditor = true; defaultEditor = true;
package = lib.mkDefault pkgs.unstable-pkgs.emacs-pgtk-unstable; package = lib.mkDefault pkgs.unstable-pkgs.emacs-pgtk;
}; };
}; };
@ -145,12 +156,51 @@ in
# onChange = "${config.home.homeDirectory}/.config/emacs/bin/doom sync"; # onChange = "${config.home.homeDirectory}/.config/emacs/bin/doom sync";
}; };
sessionVariables = {
TERMINAL = "alacritty";
};
packages = with pkgs.unstable-pkgs; [ packages = with pkgs.unstable-pkgs; [
btop btop
config.services.emacs.package config.services.emacs.package
imagemagick imagemagick
rust-motd rust-motd
zellij zellij
any-nix-shell
atool
aspell
aspellDicts.en
aspellDicts.en-computers
aspellDicts.en-science
aspellDicts.de
binutils
cmake
curl
direnv
fd
gnutls
gnumake
gcc
imagemagick
libtool
nodejs_20
nil
nixpkgs-fmt
pandoc
python311Full
rcm
(lib.mkIf config.services.gpg-agent.enable
pinentry-emacs)
(ripgrep.override { withPCRE2 = true; })
shellcheck
shfmt
statix
texlive.combined.scheme-full
tokei
wget
wl-clipboard
zstd
]; ];
}; };
} }

View file

@ -5,9 +5,9 @@
, ... , ...
}: { }: {
imports = [ imports = [
../home-mods/audio
../home-mods/common ../home-mods/common
../home-mods/desktop ../home-mods/desktop
../home-mods/dev
../home-mods/firefox ../home-mods/firefox
../home-mods/plasma ../home-mods/plasma
../home-mods/shell ../home-mods/shell

View file

@ -5,9 +5,9 @@
, ... , ...
}: { }: {
imports = [ imports = [
../home-mods/audio
../home-mods/common ../home-mods/common
../home-mods/desktop ../home-mods/desktop
../home-mods/dev
../home-mods/firefox ../home-mods/firefox
../home-mods/plasma ../home-mods/plasma
../home-mods/shell ../home-mods/shell