Compare commits
2 Commits
724d77dc57
...
1782e6329f
| Author | SHA1 | Date | |
|---|---|---|---|
| 1782e6329f | |||
| be1752a5c7 |
@@ -17,7 +17,9 @@ return {
|
|||||||
-- Haskell
|
-- Haskell
|
||||||
hls = {},
|
hls = {},
|
||||||
-- Copilot
|
-- Copilot
|
||||||
copilot = { enabled = true },
|
copilot = {
|
||||||
|
enabled = true,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
codelens = {
|
codelens = {
|
||||||
enable = true,
|
enable = true,
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ return {
|
|||||||
"nvim-treesitter/nvim-treesitter",
|
"nvim-treesitter/nvim-treesitter",
|
||||||
opts = {
|
opts = {
|
||||||
ensure_installed = {
|
ensure_installed = {
|
||||||
"astro",
|
|
||||||
"bash",
|
"bash",
|
||||||
"html",
|
"html",
|
||||||
"css",
|
"css",
|
||||||
|
|||||||
@@ -11,10 +11,13 @@
|
|||||||
# a system or working with other shell commands. Packages more specific to
|
# a system or working with other shell commands. Packages more specific to
|
||||||
# development can be in development configs.
|
# development can be in development configs.
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
# Package management
|
||||||
|
comma # Runs commands without having to install them
|
||||||
|
|
||||||
# System
|
# System
|
||||||
htop
|
htop
|
||||||
btop
|
btop
|
||||||
psmisc # fuser, killal, pstree
|
psmisc # fuser, killall, pstree
|
||||||
|
|
||||||
# Session management
|
# Session management
|
||||||
tmux
|
tmux
|
||||||
|
|||||||
7
system/features/bluetooth.nix
Normal file
7
system/features/bluetooth.nix
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
bluez
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -6,7 +6,6 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
networking.hostName = "altair"; # Define your hostname.
|
networking.hostName = "altair"; # Define your hostname.
|
||||||
|
|
||||||
|
|||||||
@@ -7,6 +7,7 @@
|
|||||||
../../authorized-keys.nix
|
../../authorized-keys.nix
|
||||||
../../features/appimage.nix
|
../../features/appimage.nix
|
||||||
../../features/audio.nix
|
../../features/audio.nix
|
||||||
|
../../features/bluetooth.nix
|
||||||
../../features/gc.nix
|
../../features/gc.nix
|
||||||
../../features/gui.nix
|
../../features/gui.nix
|
||||||
../../features/container-dev.nix
|
../../features/container-dev.nix
|
||||||
|
|||||||
@@ -32,6 +32,12 @@
|
|||||||
};
|
};
|
||||||
kernelModules = [ "kvm-intel" ];
|
kernelModules = [ "kvm-intel" ];
|
||||||
extraModulePackages = [ ];
|
extraModulePackages = [ ];
|
||||||
|
|
||||||
|
# disable_ertm is required for xpadneo to connect properly and establish a
|
||||||
|
# data connection.
|
||||||
|
extraModprobeConfig = ''
|
||||||
|
options bluetooth disable_ertm=1
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
@@ -107,6 +113,13 @@
|
|||||||
# Enable the nvidia-settings menu?
|
# Enable the nvidia-settings menu?
|
||||||
nvidiaSettings = true;
|
nvidiaSettings = true;
|
||||||
};
|
};
|
||||||
|
xpadneo = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
disable_mouse = 1;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
bluetooth.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Add a udev rule to prevent the mouse from waking the system. Note that it
|
# Add a udev rule to prevent the mouse from waking the system. Note that it
|
||||||
|
|||||||
Reference in New Issue
Block a user