Compare commits
7 Commits
ec8a71de95
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| fec13e08b9 | |||
| a540ca622d | |||
| 7fb0bcdac0 | |||
| b7726fce94 | |||
| 30c987bd9b | |||
| 539e9a0b8e | |||
| 1e4593ea17 |
@@ -12,6 +12,7 @@
|
|||||||
./features/yazi
|
./features/yazi
|
||||||
./features/emacs
|
./features/emacs
|
||||||
./features/tmux
|
./features/tmux
|
||||||
|
./features/qt-distrobox
|
||||||
|
|
||||||
./features/hyprland
|
./features/hyprland
|
||||||
|
|
||||||
|
|||||||
@@ -228,6 +228,10 @@ in {
|
|||||||
vfr = true; # power saving
|
vfr = true; # power saving
|
||||||
};
|
};
|
||||||
|
|
||||||
|
cursor = {
|
||||||
|
no_hardware_cursors = 1; # disable hardware cursors to fix tearing on kardorf
|
||||||
|
};
|
||||||
|
|
||||||
render = {
|
render = {
|
||||||
# we do, in fact, want direct scanout
|
# we do, in fact, want direct scanout
|
||||||
direct_scanout = true;
|
direct_scanout = true;
|
||||||
|
|||||||
@@ -3,8 +3,9 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
...
|
...
|
||||||
}: {
|
}:
|
||||||
imports = [inputs.nixvim.homeModules.nixvim];
|
{
|
||||||
|
imports = [ inputs.nixvim.homeModules.nixvim ];
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
EDITOR = "nvim";
|
EDITOR = "nvim";
|
||||||
@@ -78,6 +79,7 @@
|
|||||||
neogit.enable = true; # like magit
|
neogit.enable = true; # like magit
|
||||||
trouble.enable = true;
|
trouble.enable = true;
|
||||||
web-devicons.enable = true;
|
web-devicons.enable = true;
|
||||||
|
orgmode.enable = true; # org-mode support
|
||||||
|
|
||||||
# Shows file trees
|
# Shows file trees
|
||||||
oil = {
|
oil = {
|
||||||
@@ -91,9 +93,9 @@
|
|||||||
conform-nvim = {
|
conform-nvim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings.formatters_by_ft = with pkgs; {
|
settings.formatters_by_ft = with pkgs; {
|
||||||
lua = ["stylua"];
|
lua = [ "stylua" ];
|
||||||
python = ["black"];
|
python = [ "black" ];
|
||||||
nix = ["nixfmt"];
|
nix = [ "nixfmt" ];
|
||||||
};
|
};
|
||||||
# extraOptions = {
|
# extraOptions = {
|
||||||
# default_format_opts.lsp_format = "fallback";
|
# default_format_opts.lsp_format = "fallback";
|
||||||
@@ -105,9 +107,9 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
autoEnableSources = true;
|
autoEnableSources = true;
|
||||||
settings.sources = [
|
settings.sources = [
|
||||||
{name = "nvim_lsp";}
|
{ name = "nvim_lsp"; }
|
||||||
{name = "path";}
|
{ name = "path"; }
|
||||||
{name = "buffer";}
|
{ name = "buffer"; }
|
||||||
];
|
];
|
||||||
settings.mapping = {
|
settings.mapping = {
|
||||||
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
"<Tab>" = "cmp.mapping(cmp.mapping.select_next_item(), {'i', 's'})";
|
||||||
|
|||||||
22
homes/julian/features/qt-distrobox/default.nix
Normal file
22
homes/julian/features/qt-distrobox/default.nix
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
programs.distrobox = {
|
||||||
|
enable = true;
|
||||||
|
containers."qt-distrobox" = {
|
||||||
|
image = "debian:12.2";
|
||||||
|
exported_apps = "qtcreator";
|
||||||
|
enableSystemdUnit = false; # fails in creating and does not recreate. Do distrobox-assemble create --replace --file ~/.config/distrobox/containers.ini instead
|
||||||
|
additional_packages = [
|
||||||
|
"qtcreator"
|
||||||
|
"qt6-base-dev"
|
||||||
|
"qt6-wayland"
|
||||||
|
"qt6-tools-dev-tools"
|
||||||
|
"qt6-tools-dev"
|
||||||
|
"qt6-serialbus-dev"
|
||||||
|
"qt6-websockets-dev"
|
||||||
|
"libgl1-mesa-dev"
|
||||||
|
"build-essential"
|
||||||
|
"cmake"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -21,22 +21,21 @@
|
|||||||
unstable.zed-editor
|
unstable.zed-editor
|
||||||
jdk
|
jdk
|
||||||
julia-bin
|
julia-bin
|
||||||
(texlive.combine {
|
# (texlive.combine {
|
||||||
# for rendering latex in inkscape
|
# # for rendering latex in inkscape
|
||||||
inherit
|
# inherit
|
||||||
(texlive)
|
# (texlive)
|
||||||
scheme-medium
|
# scheme-medium
|
||||||
standalone
|
# standalone
|
||||||
amsmath
|
# amsmath
|
||||||
preview
|
# preview
|
||||||
# needed for org mode export
|
# # needed for org mode export
|
||||||
wrapfig
|
# wrapfig
|
||||||
capt-of
|
# capt-of
|
||||||
biblatex
|
# biblatex
|
||||||
;
|
# ;
|
||||||
})
|
# })
|
||||||
vagrant
|
vagrant
|
||||||
qtcreator
|
|
||||||
matlab # Using nix-matlab overlay defined in flake
|
matlab # Using nix-matlab overlay defined in flake
|
||||||
maven
|
maven
|
||||||
nodejs
|
nodejs
|
||||||
|
|||||||
@@ -19,13 +19,13 @@
|
|||||||
"https://nix-community.cachix.org"
|
"https://nix-community.cachix.org"
|
||||||
"https://cache.nixos.org/"
|
"https://cache.nixos.org/"
|
||||||
"https://hyprland.cachix.org"
|
"https://hyprland.cachix.org"
|
||||||
"http://binarycache.julian-mutter.de"
|
"https://devenv.cachix.org"
|
||||||
];
|
];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"binarycache.julian-mutter.de:oJ67uRFwRhNPKL58CHzy3QQLv38Kx7OA1K+6xlEPu7E="
|
"devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw="
|
||||||
];
|
];
|
||||||
|
|
||||||
trusted-users = [
|
trusted-users = [
|
||||||
|
|||||||
@@ -8,11 +8,14 @@
|
|||||||
./features/neovim
|
./features/neovim
|
||||||
./features/ghostty
|
./features/ghostty
|
||||||
./features/wezterm
|
./features/wezterm
|
||||||
|
./features/alacritty
|
||||||
./features/yazi
|
./features/yazi
|
||||||
./features/emacs
|
./features/emacs
|
||||||
|
|
||||||
# ./features/hyprland
|
./features/tmux
|
||||||
./features/i3
|
./features/qt-distrobox
|
||||||
|
./features/hyprland
|
||||||
|
# ./features/i3
|
||||||
|
|
||||||
./features/suites/cli
|
./features/suites/cli
|
||||||
./features/suites/desktop
|
./features/suites/desktop
|
||||||
@@ -21,7 +24,7 @@
|
|||||||
|
|
||||||
hostName = "kardorf";
|
hostName = "kardorf";
|
||||||
is-nixos = true;
|
is-nixos = true;
|
||||||
terminal = "ghostty";
|
terminal = "alacritty";
|
||||||
|
|
||||||
# --------- ---------
|
# --------- ---------
|
||||||
# | DVI-D-1 | | DVI-D-2 |
|
# | DVI-D-1 | | DVI-D-2 |
|
||||||
|
|||||||
@@ -13,6 +13,7 @@
|
|||||||
../features/yazi
|
../features/yazi
|
||||||
../features/emacs
|
../features/emacs
|
||||||
../features/nix-helper
|
../features/nix-helper
|
||||||
|
../features/qt-distrobox
|
||||||
];
|
];
|
||||||
|
|
||||||
hostName = "aspi";
|
hostName = "aspi";
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{pkgs, ...}: {
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
|
||||||
@@ -7,21 +8,22 @@
|
|||||||
../common/users/wolfi
|
../common/users/wolfi
|
||||||
../common/optional/binarycaches.nix
|
../common/optional/binarycaches.nix
|
||||||
|
|
||||||
../common/optional/xserver.nix
|
# ../common/optional/xserver.nix
|
||||||
../common/optional/remote-builder.nix
|
../common/optional/remote-builder.nix
|
||||||
../common/optional/boot-efi.nix
|
../common/optional/boot-efi.nix
|
||||||
|
|
||||||
# ../common/optional/greetd.nix
|
../common/optional/greetd.nix
|
||||||
|
|
||||||
../common/optional/gdm.nix
|
|
||||||
../common/optional/i3.nix
|
|
||||||
|
|
||||||
../common/optional/openssh.nix
|
|
||||||
|
|
||||||
../common/optional/authentication.nix
|
../common/optional/authentication.nix
|
||||||
../common/optional/pcmanfm.nix
|
../common/optional/pcmanfm.nix
|
||||||
../common/optional/pipewire.nix
|
../common/optional/pipewire.nix
|
||||||
|
|
||||||
|
../common/optional/virtualbox.nix
|
||||||
|
|
||||||
|
# ../common/optional/gdm.nix
|
||||||
|
# ../common/optional/i3.nix
|
||||||
|
|
||||||
|
../common/optional/openssh.nix
|
||||||
|
|
||||||
../common/optional/podman.nix
|
../common/optional/podman.nix
|
||||||
../common/optional/flatpak.nix
|
../common/optional/flatpak.nix
|
||||||
];
|
];
|
||||||
@@ -32,14 +34,17 @@
|
|||||||
# Not using the drivers leads to way better results
|
# Not using the drivers leads to way better results
|
||||||
# services.xserver.videoDrivers = [ "nvidia" ];
|
# services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
|
||||||
|
networking.networkmanager.insertNameservers = [ "192.168.3.252" ];
|
||||||
|
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
|
|
||||||
|
programs.hyprland.enable = true;
|
||||||
services.desktopManager.plasma6.enable = true;
|
services.desktopManager.plasma6.enable = true;
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
services.printing.browsing = true;
|
services.printing.browsing = true;
|
||||||
services.printing.drivers = with pkgs; [gutenprint];
|
services.printing.drivers = with pkgs; [ gutenprint ];
|
||||||
|
|
||||||
services.libinput.enable = true;
|
services.libinput.enable = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user