Compare commits
4 Commits
30c987bd9b
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| fec13e08b9 | |||
| a540ca622d | |||
| 7fb0bcdac0 | |||
| b7726fce94 |
@@ -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'})";
|
||||||
|
|||||||
@@ -21,20 +21,20 @@
|
|||||||
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
|
||||||
matlab # Using nix-matlab overlay defined in flake
|
matlab # Using nix-matlab overlay defined in flake
|
||||||
maven
|
maven
|
||||||
|
|||||||
@@ -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 |
|
||||||
|
|||||||
@@ -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