some stuff

Signed-off-by: Alex Stan <90788596+Ultra980@users.noreply.github.com>
This commit is contained in:
Alex Stan 2023-09-19 17:39:50 +03:00
parent 0340a32990
commit 6e5c998c2e
3 changed files with 20 additions and 4 deletions

View file

@ -163,6 +163,7 @@ in {
virt-manager virt-manager
flutter flutter
nixd nixd
sddm-kcm
]; ];
variables = { variables = {
NIX_AUTO_RUN = "!"; NIX_AUTO_RUN = "!";
@ -266,7 +267,17 @@ in {
sddm = { sddm = {
enable = true; enable = true;
settings = {
General = {
DisplayServer = "wayland";
GreeterEnbironment = "QT_WAYLAND_SHELL_INTEGRATION=layer-shell";
};
Wayland = {
CompositerCommand = "kwin_wayland --drm --no-lockscreen --no-global-shortcuts";
};
};
}; };
startx.enable = true;
}; };
desktopManager.plasma5.enable = true; desktopManager.plasma5.enable = true;
@ -300,9 +311,9 @@ in {
anonymousUploadEnable = false; # Anyone uploading files wouldn't be so secure, would it? anonymousUploadEnable = false; # Anyone uploading files wouldn't be so secure, would it?
anonymousMkdirEnable = false; # Neither would them creating directories. anonymousMkdirEnable = false; # Neither would them creating directories.
writeEnable = false; writeEnable = false;
}; };
snowflake-proxy.enable = true;
}; };

View file

@ -16,4 +16,8 @@ inputs: { config, pkgs, lib, ... }: {
nvidiaSettings = true; nvidiaSettings = true;
}; };
}; };
boot = {
initrd.kernelModules = [ "nvidia" ];
extraModulePackages = [ config.boot.kernelPackages.nvidia_x11 ];
};
} }

View file

@ -174,7 +174,7 @@ in {
language-server = with pkgs; { language-server = with pkgs; {
cpp.command = "${clang-tools}/bin/clangd"; cpp.command = "${clang-tools}/bin/clangd";
c.command = "${clang-tools}/bin/clangd"; c.command = "${clang-tools}/bin/clangd";
nix.command = "${nil}/bin/nil"; nix.command = "${nixd}/bin/nixd";
}; };
language = [ language = [
{ {
@ -235,6 +235,7 @@ in {
jnoortheen.nix-ide # Nix stuff jnoortheen.nix-ide # Nix stuff
# eamodio.gitlens # Giga git, but with some paid stuff # eamodio.gitlens # Giga git, but with some paid stuff
kahole.magit # Giga git kahole.magit # Giga git
bmalehorn.vscode-fish # Fish in vscode
] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{ {
name = "hungry-delete"; name = "hungry-delete";
@ -245,7 +246,7 @@ in {
]; ];
userSettings = { userSettings = {
nix = { nix = {
serverPath = "nil"; serverPath = "nixd";
enableLanguageServer = true; enableLanguageServer = true;
}; };
editor = { editor = {