Host based configuration
This commit is contained in:
parent
1502fa1e36
commit
b4571fbe53
10 changed files with 106 additions and 79 deletions
69
odin.nix
69
odin.nix
|
|
@ -1,22 +1,30 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
nord = import ./themes/nord.nix;
|
||||
onedark = import ./themes/onedark.nix;
|
||||
in
|
||||
{
|
||||
nixpkgs.overlays = [
|
||||
(import ./overlays/rice.nix)
|
||||
(
|
||||
final: prev: {
|
||||
cocktail-bar-cli = final.callPackage ./custom/cocktail-bar-cli { };
|
||||
update-background = final.callPackage ./custom/update-background { backgrounds_directory = "$HOME/Immagini/Sfondi/1080+/1440+"; };
|
||||
lockscreen = final.callPackage ./custom/lockscreen {
|
||||
palette = final.rice.colorPalette;
|
||||
font = final.rice.font.normal;
|
||||
};
|
||||
}
|
||||
) # Custom packges
|
||||
(final: prev: {
|
||||
devEnvironment = (import ./environment.nix) {
|
||||
enableCpp = true;
|
||||
enableData = true;
|
||||
enableGo = true;
|
||||
enableHtml = true;
|
||||
enableJavascript = true;
|
||||
enableJava = true;
|
||||
enableLatex = true;
|
||||
enableNix = true;
|
||||
enableOffice = true;
|
||||
enablePython = true;
|
||||
enableRust = true;
|
||||
enableShell = true;
|
||||
enableSpelling = true;
|
||||
};
|
||||
|
||||
cocktail-bar-cli = final.callPackage ./custom/cocktail-bar-cli { };
|
||||
update-background = final.callPackage ./custom/update-background { backgrounds_directory = "$HOME/Immagini/Sfondi/1080+/1440+"; };
|
||||
lockscreen = final.callPackage ./custom/lockscreen {
|
||||
palette = final.rice.colorPalette;
|
||||
font = final.rice.font.normal;
|
||||
};
|
||||
})
|
||||
];
|
||||
|
||||
home = {
|
||||
|
|
@ -42,9 +50,8 @@ in
|
|||
discord
|
||||
# evolution
|
||||
file
|
||||
# firefox
|
||||
firefox
|
||||
gallery-dl
|
||||
gitkraken
|
||||
gnome.dconf-editor
|
||||
gnome.eog
|
||||
gnome.evince
|
||||
|
|
@ -75,7 +82,6 @@ in
|
|||
jetbrains.datagrip
|
||||
keepassxc
|
||||
krita
|
||||
libreoffice-fresh
|
||||
# lutris
|
||||
megacmd
|
||||
mpv
|
||||
|
|
@ -103,18 +109,6 @@ in
|
|||
zoom-us
|
||||
zotero
|
||||
|
||||
hunspellDicts.en_GB-large
|
||||
hunspellDicts.en_US-large
|
||||
hunspellDicts.it_IT
|
||||
|
||||
# (
|
||||
# dwarf-fortress-packages.dwarf-fortress-full.override {
|
||||
# enableLegendsBrowser = false;
|
||||
# enableTextMode = true;
|
||||
# theme = "phoebus";
|
||||
# }
|
||||
# )
|
||||
|
||||
(
|
||||
retroarch.override {
|
||||
cores = with pkgs.libretro; [
|
||||
|
|
@ -146,13 +140,14 @@ in
|
|||
./modules/gpg.nix
|
||||
./modules/grobi.nix
|
||||
./modules/info.nix
|
||||
./modules/java.nix
|
||||
# ./modules/joystickwake.nix
|
||||
./modules/jq.nix
|
||||
./modules/kakoune.nix
|
||||
./modules/keep.nix
|
||||
# ./modules/keepassxc.nix
|
||||
./modules/keychain.nix
|
||||
# ./modules/kitty.nix
|
||||
./modules/latex.nix
|
||||
./modules/lf.nix
|
||||
./modules/libinput-gestures.nix
|
||||
./modules/lorri.nix
|
||||
|
|
@ -162,8 +157,8 @@ in
|
|||
./modules/nix-index.nix
|
||||
./modules/noti.nix
|
||||
./modules/obs-studio.nix
|
||||
./modules/office.nix
|
||||
./modules/onedrive.nix
|
||||
# ./modules/pazi.nix
|
||||
# ./modules/picom.nix
|
||||
# ./modules/polybar.nix
|
||||
./modules/gtk_theme.nix
|
||||
|
|
@ -178,17 +173,15 @@ in
|
|||
./modules/update_background.nix
|
||||
./modules/whatsapp.nix
|
||||
# ./modules/xidlehook.nix
|
||||
# ./modules/zathura.nix
|
||||
./modules/zoxide.nix
|
||||
./modules/zsh.nix
|
||||
|
||||
./modules/pro_audio.nix
|
||||
./modules/security.nix
|
||||
# ./modules/pro_audio.nix
|
||||
# ./modules/security.nix
|
||||
|
||||
./modules/shell_aliases.nix
|
||||
];
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
services = {
|
||||
# blueman-applet.enable = true;
|
||||
|
|
@ -196,7 +189,7 @@ in
|
|||
# cbatticon.enable = true;
|
||||
gnome-keyring.enable = true;
|
||||
# network-manager-applet.enable = true;
|
||||
playerctld.enable = true;
|
||||
# playerctld.enable = true;
|
||||
# poweralertd.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue