modularize config
This commit is contained in:
parent
09c4625fbb
commit
7a4e46e04f
33 changed files with 230 additions and 168 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, username, ... }: {
|
||||
{ pkgs, config, ... }: {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
DisplayBookmarksToolbar = "never";
|
||||
DisplayMenuBar = "default-off";
|
||||
};
|
||||
profiles.${username} = {
|
||||
profiles.${config.conf.username} = {
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
ublock-origin
|
||||
darkreader
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{ username, ... }: {
|
||||
{ config, ... }: {
|
||||
xdg.configFile."fish/config.fish" = {
|
||||
text =
|
||||
''
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
set EDITOR "neovide --no-fork"
|
||||
|
||||
alias rebuild='sudo nixos-rebuild switch --flake /home/${username}/gits/dotFiles/nix/.'
|
||||
alias rebuild='sudo nixos-rebuild switch --flake /home/${config.conf.username}/gits/dotFiles/nix/.'
|
||||
abbr --add ls 'lsd'
|
||||
abbr --add :q 'exit'
|
||||
abbr --add gh 'git push origin'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue