modularized :)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.bash = {
|
||||
enable = true;
|
||||
shellAliases = {
|
||||
rebuild = "sudo nixos-rebuild switch --flake /home/odweta/nixos/#nixos";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.username = "odweta";
|
||||
home.homeDirectory = "/home/odweta";
|
||||
home.stateVersion = "25.05";
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
imports = [
|
||||
./bash.nix
|
||||
./fastfetch.nix
|
||||
./git.nix
|
||||
./gnome.nix
|
||||
./keepass.nix
|
||||
./minecraft.nix
|
||||
./vim.nix
|
||||
./xdg.nix
|
||||
./xournalpp.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.fastfetch.enable = true;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.git = {
|
||||
enable = true;
|
||||
settings.user = {
|
||||
name = "Odweta";
|
||||
email = "code.62rdl@aleeas.com";
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
{ ... }:
|
||||
|
||||
{
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
enable-animations = false;
|
||||
color-scheme = "prefer-dark";
|
||||
};
|
||||
|
||||
"org/gnome/mutter" = {
|
||||
dynamic-workspaces = true;
|
||||
};
|
||||
|
||||
"org/gnome/shell" = {
|
||||
favorite-apps = [];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
keepassxc
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
prismlauncher
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.vim = {
|
||||
enable = true;
|
||||
plugins = with pkgs.vimPlugins; [ vim-airline ];
|
||||
settings = { ignorecase = true; };
|
||||
extraConfig = ''
|
||||
set sw=2
|
||||
set ts=2
|
||||
set et
|
||||
set smartindent
|
||||
set number
|
||||
syntax on
|
||||
'';
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
xdg.mimeApps.defaultApplications = {
|
||||
"text/plain" = [ "neovide.desktop" ];
|
||||
"applications/pdf" = [ "zathura.desktop" ];
|
||||
"image/*" = [ "sxiv.desktop" ];
|
||||
"video/png" = [ "mpv.desktop" ];
|
||||
"video/jpg" = [ "mpv.desktop" ];
|
||||
"video/*" = [ "mpv.desktop" ];
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.xournalpp.enable = true;
|
||||
|
||||
home.file.".config/xournalpp/palette.gpl" = ''
|
||||
GIMP Palette
|
||||
Name: Xournal Default Palette
|
||||
#
|
||||
0 0 0 Black
|
||||
0 128 0 Green
|
||||
0 192 255 Light Blue
|
||||
0 255 0 Light Green
|
||||
51 51 204 Blue
|
||||
128 128 128 Gray
|
||||
255 0 0 Red
|
||||
255 0 255 Magenta
|
||||
255 128 0 Orange
|
||||
255 255 0 Yellow
|
||||
255 255 255 White
|
||||
'';
|
||||
|
||||
home.file.".config/xournalpp/toolbar.ini" = ''
|
||||
[Custom Main]
|
||||
toolbarTop1=SAVE,NEW,OPEN,SEPARATOR,SAVEPDF,PRINT,SEPARATOR,CUT,COPY,PASTE,SEPARATOR,UNDO,REDO,SEPARATOR,GOTO_FIRST,GOTO_BACK,GOTO_NEXT_ANNOTATED_PAGE,GOTO_NEXT,GOTO_LAST,INSERT_NEW_PAGE,DELETE_CURRENT_PAGE,SEPARATOR,FULLSCREEN,SEPARATOR,AUDIO_RECORDING,AUDIO_SEEK_BACKWARDS,AUDIO_PAUSE_PLAYBACK,AUDIO_STOP_PLAYBACK,AUDIO_SEEK_FORWARDS,SEPARATOR,SELECT_FONT
|
||||
toolbarTop2=PEN,ERASER,HIGHLIGHTER,PDF_TOOL,IMAGE,TEXT,MATH_TEX,DRAW,SEPARATOR,ROTATION_SNAPPING,GRID_SNAPPING,SEPARATOR,SELECT,VERTICAL_SPACE,HAND,SETSQUARE,COMPASS,SEPARATOR,DEFAULT_TOOL,SEPARATOR,FINE,MEDIUM,THICK,SEPARATOR,TOOL_FILL,SEPARATOR,COLOR(0),COLOR(1),COLOR(2),COLOR(3),COLOR(4),COLOR(5),COLOR(6),COLOR(7),COLOR(8),COLOR(9),COLOR(10),COLOR_SELECT
|
||||
toolbarBottom1=PAGE_SPIN,SEPARATOR,LAYER,SPACER,PAIRED_PAGES,PRESENTATION_MODE,ZOOM_100,ZOOM_FIT,ZOOM_OUT,ZOOM_SLIDER,ZOOM_IN
|
||||
name=Custom Main
|
||||
'';
|
||||
}
|
||||
Reference in New Issue
Block a user