Compare commits
4 Commits
7f929937bf
...
2774700752
Author | SHA1 | Date | |
---|---|---|---|
2774700752 | |||
a562b39ffe | |||
13d739a312 | |||
e3d7814bb1 |
@ -1,10 +1,18 @@
|
|||||||
{ home-manager, config, lib, ... }:
|
{ home-manager, config, lib, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
# Home directory related stuff, that we don't need (or can't) use home-manager for
|
||||||
|
imports = [
|
||||||
|
../shared/home_manager/package_dependencies/neovim.nix
|
||||||
|
];
|
||||||
|
|
||||||
home-manager.users.${config.variables.username} = { ... }: {
|
home-manager.users.${config.variables.username} = { ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../shared/home_manager/plasma_manager.nix
|
|
||||||
../shared/variables.nix
|
../shared/variables.nix
|
||||||
|
../shared/home_manager/plasma_manager.nix
|
||||||
|
../shared/home_manager/neovim.nix
|
||||||
|
../shared/home_manager/bash.nix
|
||||||
|
../shared/home_manager/envvars_amd.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
variables = config.variables;
|
variables = config.variables;
|
||||||
|
@ -11,6 +11,16 @@
|
|||||||
wget
|
wget
|
||||||
];
|
];
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
prompt.enable = true;
|
||||||
|
config = {
|
||||||
|
init = {
|
||||||
|
defaultBranch = "main";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
defaultEditor = true;
|
defaultEditor = true;
|
||||||
|
@ -2,9 +2,15 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
dbeaver-bin
|
||||||
|
feh
|
||||||
firefox
|
firefox
|
||||||
keepassxc
|
keepassxc
|
||||||
nextcloud-client
|
nextcloud-client
|
||||||
|
pavucontrol
|
||||||
|
thunderbird
|
||||||
|
zathura
|
||||||
|
qpwgraph
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
10
shared/home_manager/bash.nix
Normal file
10
shared/home_manager/bash.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
home.file.".bashrc".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/bash_configfiles/.bashrc";
|
||||||
|
home.file.".bash_profile".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/bash_configfiles/.bash_profile";
|
||||||
|
home.file.".profile".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/bash_configfiles/.profile";
|
||||||
|
home.file.".bash_aliases".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/bash_configfiles/bash_aliases/.bash_aliases";
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: tabstop=2 softtabstop=2
|
7
shared/home_manager/envvars_amd.nix
Normal file
7
shared/home_manager/envvars_amd.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
xdg.configFile."environment.d/envvars.conf".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/environment_variables/envvars-amdgpu.conf";
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: tabstop=2 softtabstop=2
|
7
shared/home_manager/envvars_intel.nix
Normal file
7
shared/home_manager/envvars_intel.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
xdg.configFile."environment.d/envvars.conf".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/environment_variables/envvars-intel/conf";
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: tabstop=2 softtabstop=2
|
9
shared/home_manager/neovim.nix
Normal file
9
shared/home_manager/neovim.nix
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
xdg.configFile."nvim/init.vim".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/vim/vimrc/init.vim";
|
||||||
|
xdg.configFile."nvim/snippets".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/vim/snippets";
|
||||||
|
xdg.configFile."nvim/spell".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.homedir}/Nextcloud/configfiles/vim/spell";
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: tabstop=2 softtabstop=2
|
15
shared/home_manager/package_dependencies/neovim.nix
Normal file
15
shared/home_manager/package_dependencies/neovim.nix
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
gcc
|
||||||
|
gnumake
|
||||||
|
nodejs
|
||||||
|
perl
|
||||||
|
ruby
|
||||||
|
shellcheck
|
||||||
|
yarn
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: tabstop=2 softtabstop=2
|
@ -15,7 +15,9 @@
|
|||||||
{
|
{
|
||||||
systemTray.items = {
|
systemTray.items = {
|
||||||
# shown = [];
|
# shown = [];
|
||||||
# hidden = [];
|
hidden = [
|
||||||
|
"org.kde.yakuake"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
|
@ -8,9 +8,7 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
# Enable KritaDarkOrange
|
# Enable KritaDarkOrange
|
||||||
systemd.user.tmpfiles.rules = [
|
home.file.".local/share/color-schemes/KritaDarkOrange.colors".source = config.lib.file.mkOutOfStoreSymlink "${config.variables.flakedir}/shared/home_manager/assets/KritaDarkOrange.colors";
|
||||||
"L ${config.variables.homedir}/.local/share/color-schemes/KritaDarkOrange.colors - - - - ${config.variables.flakedir}/shared/home_manager/assets/KritaDarkOrange.colors"
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.plasma.resetFilesExclude = [
|
programs.plasma.resetFilesExclude = [
|
||||||
"plasmarc"
|
"plasmarc"
|
||||||
@ -21,3 +19,4 @@
|
|||||||
# };
|
# };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim: tabstop=2 softtabstop=2
|
||||||
|
Loading…
Reference in New Issue
Block a user