mirror of
https://git.gay/xqtc/nixos-config
synced 2024-12-28 06:23:45 +01:00
Compare commits
3 commits
934d4b15f7
...
874f4589e8
Author | SHA1 | Date | |
---|---|---|---|
xqtc | 874f4589e8 | ||
df46af4ef2 | |||
f67561ae23 |
|
@ -11,7 +11,7 @@ end
|
||||||
|
|
||||||
local HOSTNAME = getHostname()
|
local HOSTNAME = getHostname()
|
||||||
|
|
||||||
config.color_scheme = "Apathy (base16)"
|
config.color_scheme = "astromouse (terminal.sexy)"
|
||||||
-- config.font = wezterm.font 'Hack Nerd Font Mono'
|
-- config.font = wezterm.font 'Hack Nerd Font Mono'
|
||||||
config.font = wezterm.font 'Hasklug Nerd Font Mono'
|
config.font = wezterm.font 'Hasklug Nerd Font Mono'
|
||||||
if getHostname() == "lilith" or getHostname() == "alastor" then
|
if getHostname() == "lilith" or getHostname() == "alastor" then
|
||||||
|
@ -22,7 +22,7 @@ end
|
||||||
if os.getenv("DESKTOP_SESSION") == "plasma" or os.getenv("DESKTOP_SESSION") == "plasmax11" then
|
if os.getenv("DESKTOP_SESSION") == "plasma" or os.getenv("DESKTOP_SESSION") == "plasmax11" then
|
||||||
config.window_background_opacity = 1
|
config.window_background_opacity = 1
|
||||||
elseif os.getenv("XDG_CURRENT_DESKTOP") == "sway" or os.getenv("XDG_CURRENT_DESKTOP") == "Hyprland" then
|
elseif os.getenv("XDG_CURRENT_DESKTOP") == "sway" or os.getenv("XDG_CURRENT_DESKTOP") == "Hyprland" then
|
||||||
config.window_background_opacity = 1
|
config.window_background_opacity = 1
|
||||||
else
|
else
|
||||||
config.window_background_opacity = .8
|
config.window_background_opacity = .8
|
||||||
end
|
end
|
||||||
|
|
|
@ -209,11 +209,11 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.protols;
|
package = pkgs.protols;
|
||||||
};
|
};
|
||||||
typos-lsp.enable = false;
|
typos_lsp.enable = false;
|
||||||
docker-compose-language-service.enable = true;
|
docker_compose_language_service.enable = true;
|
||||||
pylsp.enable = true;
|
pylsp.enable = true;
|
||||||
bashls.enable = true;
|
bashls.enable = true;
|
||||||
lua-ls.enable = true;
|
lua_ls.enable = true;
|
||||||
gopls.enable = true;
|
gopls.enable = true;
|
||||||
nushell.enable = true;
|
nushell.enable = true;
|
||||||
clangd = {
|
clangd = {
|
||||||
|
@ -221,11 +221,12 @@
|
||||||
filetypes = ["c" "cpp" "objc" "objcpp" "cpp"];
|
filetypes = ["c" "cpp" "objc" "objcpp" "cpp"];
|
||||||
};
|
};
|
||||||
svelte.enable = true;
|
svelte.enable = true;
|
||||||
ts-ls.enable = true;
|
ts_ls.enable = true;
|
||||||
java-language-server.enable = true;
|
java_language_server.enable = true;
|
||||||
hls.enable = true;
|
hls.enable = true;
|
||||||
|
hls.installGhc = false;
|
||||||
eslint.enable = true;
|
eslint.enable = true;
|
||||||
rust-analyzer = {
|
rust_analyzer = {
|
||||||
enable = true;
|
enable = true;
|
||||||
installCargo = false;
|
installCargo = false;
|
||||||
installRustc = false;
|
installRustc = false;
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
hardware.asahi.experimentalGPUInstallMode = "replace";
|
hardware.asahi.experimentalGPUInstallMode = "replace";
|
||||||
hardware.asahi.withRust = true;
|
hardware.asahi.withRust = true;
|
||||||
hardware.asahi.setupAsahiSound = true;
|
hardware.asahi.setupAsahiSound = true;
|
||||||
hardware.opengl.enable = true;
|
hardware.graphics.enable = true;
|
||||||
hardware.opengl.driSupport32Bit = lib.mkForce false;
|
hardware.graphics.enable32Bit = lib.mkForce false;
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
@ -65,7 +65,7 @@
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
services.xserver.displayManager.sddm.enable = true;
|
services.xserver.displayManager.sddm.enable = true;
|
||||||
services.xserver.desktopManager.plasma6.enable = true;
|
services.desktopManager.plasma6.enable = true;
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
# services.xserver.xkb.layout = "us";
|
# services.xserver.xkb.layout = "us";
|
||||||
|
@ -89,7 +89,7 @@
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
services.xserver.libinput.enable = true;
|
services.libinput.enable = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.xqtc = {
|
users.users.xqtc = {
|
||||||
|
|
|
@ -49,9 +49,9 @@
|
||||||
|
|
||||||
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
boot.binfmt.emulatedSystems = ["aarch64-linux"];
|
||||||
|
|
||||||
hardware.opengl = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport32Bit = true;
|
enable32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.cpu.amd.updateMicrocode = true;
|
hardware.cpu.amd.updateMicrocode = true;
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
services.xserver.enable = true;
|
services.xserver.enable = true;
|
||||||
# services.xserver.displayManager.gdm.enable = true;
|
# services.xserver.displayManager.gdm.enable = true;
|
||||||
services.xserver.displayManager.sddm.enable = true;
|
services.xserver.displayManager.sddm.enable = true;
|
||||||
services.xserver.desktopManager.plasma6.enable = true;
|
services.desktopManager.plasma6.enable = true;
|
||||||
# services.xserver.desktopManager.gnome.enable = true;
|
# services.xserver.desktopManager.gnome.enable = true;
|
||||||
# services.xserver.displayManager.defaultSession = "plasma";
|
# services.xserver.displayManager.defaultSession = "plasma";
|
||||||
services.xserver.videoDrivers = ["nvidia"];
|
services.xserver.videoDrivers = ["nvidia"];
|
||||||
|
@ -164,7 +164,7 @@
|
||||||
services.blueman.enable = true;
|
services.blueman.enable = true;
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
services.xserver.libinput.enable = true;
|
services.libinput.enable = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.xqtc = {
|
users.users.xqtc = {
|
||||||
|
|
|
@ -33,9 +33,9 @@
|
||||||
|
|
||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
|
|
||||||
hardware.opengl = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport32Bit = true;
|
enable32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
|
@ -108,7 +108,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
services.xserver.libinput.enable = true;
|
services.libinput.enable = true;
|
||||||
|
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
users.users.xqtc = {
|
users.users.xqtc = {
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
|
|
||||||
security.pam.services.swaylock = {};
|
security.pam.services.swaylock = {};
|
||||||
|
|
||||||
hardware.opengl = {
|
hardware.graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport32Bit = true;
|
enable32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.bluetooth = {
|
hardware.bluetooth = {
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
# services.xserver.displayManager.gdm.enable = true;
|
# services.xserver.displayManager.gdm.enable = true;
|
||||||
# services.xserver.displayManager.startx.enable = true;
|
# services.xserver.displayManager.startx.enable = true;
|
||||||
# services.xserver.desktopManager.gnome.enable = true;
|
# services.xserver.desktopManager.gnome.enable = true;
|
||||||
services.xserver.desktopManager.plasma6.enable = true;
|
services.desktopManager.plasma6.enable = true;
|
||||||
#services.xserver.displayManager.defaultSession = "plasmawayland";
|
#services.xserver.displayManager.defaultSession = "plasmawayland";
|
||||||
# services.xserver.videoDrivers = ["intel"];
|
# services.xserver.videoDrivers = ["intel"];
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@
|
||||||
# '';
|
# '';
|
||||||
#};
|
#};
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
services.xserver.libinput.enable = true;
|
services.libinput.enable = true;
|
||||||
|
|
||||||
programs.adb.enable = true;
|
programs.adb.enable = true;
|
||||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
cargo
|
cargo
|
||||||
cargo-generate
|
cargo-generate
|
||||||
sway
|
sway
|
||||||
gnome.adwaita-icon-theme
|
adwaita-icon-theme
|
||||||
glib
|
glib
|
||||||
#swaylock
|
#swaylock
|
||||||
swaylock-effects
|
swaylock-effects
|
||||||
|
|
|
@ -71,8 +71,8 @@
|
||||||
# Enable the X11 windowing system.
|
# Enable the X11 windowing system.
|
||||||
# services.xserver.enable = true;
|
# services.xserver.enable = true;
|
||||||
|
|
||||||
hardware.opengl.enable = true;
|
hardware.graphics.enable = true;
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.graphics.enable32Bit = true;
|
||||||
|
|
||||||
# Configure keymap in X11
|
# Configure keymap in X11
|
||||||
# services.xserver.xkb.layout = "us";
|
# services.xserver.xkb.layout = "us";
|
||||||
|
|
Loading…
Reference in a new issue