Compare commits
15 Commits
9a9b8321b9
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ec7c8f9949 | ||
|
|
409d329ad0 | ||
|
|
1ccade2379 | ||
|
|
563a68366c | ||
|
|
86cf0e8d41 | ||
|
|
0f748ec335 | ||
|
|
d87afd4c75 | ||
|
|
0cf9535c86 | ||
|
|
c9985ffc6d | ||
|
|
61f4d46c1e | ||
|
|
d20a2d4e11 | ||
|
|
dd9cc465cd | ||
|
|
c0eeb9888d | ||
|
|
55203bfcc2 | ||
|
|
44e6342c6c |
27
applications/fediserve.nix
Normal file
27
applications/fediserve.nix
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
let
|
||||
profile = import ./profile.nix;
|
||||
dotfiles_interstellar = pkgs.fetchgit {
|
||||
url = "https://git.nichkara.eu/dotfiles/interstellar.git";
|
||||
rev = "9864939b912dbb419e6e654970528fe1cee23a1a";
|
||||
sha256 = "";
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
|
||||
# Lemmy
|
||||
interstellar
|
||||
|
||||
# PeerTube
|
||||
|
||||
# Pixelfed
|
||||
fedistar
|
||||
|
||||
];
|
||||
}
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
configPath = "${config.xdg.configHome}/mozilla/firefox";
|
||||
policies = {
|
||||
AppAutoUpdate = false;
|
||||
AllowFileSelectionDialogs = true;
|
||||
|
||||
@@ -9,6 +9,7 @@ in
|
||||
./window-manager.nix
|
||||
../applications/matrix.nix
|
||||
../applications/games.nix
|
||||
../applications/fediserve.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
||||
@@ -5,5 +5,6 @@ in
|
||||
{
|
||||
imports = [
|
||||
./window-manager/${profile.interface}.nix
|
||||
./window-manager/dark-mode.nix
|
||||
];
|
||||
}
|
||||
|
||||
19
desktop-environment/window-manager/dark-mode.nix
Normal file
19
desktop-environment/window-manager/dark-mode.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
|
||||
extraPortals = with pkgs; [
|
||||
xdg-desktop-portal-gtk
|
||||
xdg-desktop-portal-hyprland
|
||||
];
|
||||
|
||||
config.common.default = "*";
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
GTK_THEME = "Adwaita:dark";
|
||||
COLORSCHEME = "prefer-dark";
|
||||
};
|
||||
}
|
||||
@@ -2,8 +2,8 @@
|
||||
let
|
||||
dotfiles_hypr = pkgs.fetchgit {
|
||||
url = "https://git.nichkara.eu/dotfiles/hypr";
|
||||
rev = "ba03a7d86bf564cbb9e817b895a2497da84b8bad";
|
||||
sha256 = "sha256-mbE94wrz3Gl7IE7uD5sCTyII4eQcsjFhyafeOeTgy6s=";
|
||||
rev = "42cda0ea4707535ec21512543e4a147ef971be2d";
|
||||
sha256 = "sha256-l08epLZKCXaJ3N6MU25/FfuzEuiXjOn10tWYPBLNOsI=";
|
||||
};
|
||||
|
||||
dotfiles_waybar = pkgs.fetchgit {
|
||||
@@ -43,6 +43,7 @@ in
|
||||
hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
configType = "hyprlang";
|
||||
extraConfig = ''
|
||||
exec-once = sleep 2 && nextcloud
|
||||
'';
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
imports = [
|
||||
./media/jellyfin.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
calibre
|
||||
kdePackages.okular
|
||||
|
||||
28
system-environment/media/jellyfin.nix
Normal file
28
system-environment/media/jellyfin.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
dotfiles_delfin = pkgs.fetchgit {
|
||||
url = "https://git.nichkara.eu/dotfiles/delfin";
|
||||
rev = "cfff63c725eb8a2a5dc4872ab48932c382e55184";
|
||||
sha256 = "sha256-AujtjitTDJaUIWQioPhyb5+F1M1vF3we8mXK5cIA9G0=";
|
||||
};
|
||||
|
||||
dotfiles_finamp = pkgs.fetchgit {
|
||||
url = "https://git.nichkara.eu/dotfiles/finamp";
|
||||
rev = "cd3d5d8a97f9fbc1cc8a69fc9e570dfcf669dce7";
|
||||
sha256 = "sha256-FTpGumhxY6ChUXqnykO+aSJiFD4A80W0eqx7hXS9Iwc=";
|
||||
};
|
||||
|
||||
profile = import ../../profile.nix;
|
||||
in
|
||||
{
|
||||
|
||||
home.packages = with pkgs; [
|
||||
finamp
|
||||
delfin
|
||||
];
|
||||
|
||||
xdg.configFile."delfin" = {
|
||||
source = dotfiles_delfin;
|
||||
recursive = true;
|
||||
};
|
||||
}
|
||||
@@ -7,10 +7,7 @@ in
|
||||
enable = true;
|
||||
enableDefaultConfig = false;
|
||||
|
||||
matchBlocks."*" = {
|
||||
compression = true;
|
||||
serverAliveInterval = 60;
|
||||
};
|
||||
settings."*" = { };
|
||||
|
||||
extraConfig = ''
|
||||
Host git.nickr.eu
|
||||
|
||||
@@ -10,10 +10,8 @@ in
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
git
|
||||
astyle
|
||||
hyfetch
|
||||
fzf-zsh
|
||||
distrobox
|
||||
];
|
||||
|
||||
@@ -41,6 +39,7 @@ in
|
||||
push = {
|
||||
autoSetupRemote = true;
|
||||
};
|
||||
init.defaultBranch = "main";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
@@ -1,11 +1,18 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
neovim_configuration = pkgs.fetchgit {
|
||||
url = "https://git.nichkara.eu/nichkara/nvim";
|
||||
rev = "ba38abd4c782efc592a97b6da453492eae37f8d0";
|
||||
sha256 = "sha256-E00IKMwpS6WjkWnpxpg0NxWYZEhbNlS+0vs0Nv5N4eY=";
|
||||
};
|
||||
|
||||
profile = import ../profile.nix;
|
||||
in
|
||||
{
|
||||
|
||||
home.packages = with pkgs; [
|
||||
vim
|
||||
neovim-qt
|
||||
|
||||
fzf
|
||||
ripgrep
|
||||
ripgrep-all
|
||||
@@ -13,15 +20,24 @@ in
|
||||
lua54Packages.luarocks-nix
|
||||
nixfmt
|
||||
haskellPackages.lsp
|
||||
|
||||
python3
|
||||
nodejs
|
||||
ruby
|
||||
];
|
||||
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
withNodeJs = true;
|
||||
withPerl = true;
|
||||
withPython3 = true;
|
||||
withRuby = true;
|
||||
withNodeJs = true;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
waylandSupport = true;
|
||||
initLua = "require('nvim')";
|
||||
};
|
||||
|
||||
xdg.configFile."nvim/lua/nvim" = {
|
||||
source = neovim_configuration;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user