add nix language server

This commit is contained in:
Gustav Bruhn 2025-03-17 19:49:04 +01:00
parent adab63ab35
commit 667c7fad37
2 changed files with 6 additions and 7 deletions

View File

@ -9,7 +9,7 @@
[ # Include the results of the hardware scan.
./hardware-configuration.nix
inputs.home-manager.nixosModules.default
./modules/nixos/cosmic.nix
../../modules/nixos/cosmic.nix
];
# Bootloader.
@ -46,8 +46,6 @@
LC_TIME = "sv_SE.UTF-8";
};
# Enable the X11 windowing system.
# services.xserver.enable = true;
# Configure keymap in X11
@ -108,6 +106,7 @@
# $ nix search wget
environment.systemPackages = with pkgs; [
helix
nil
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget
];

View File

@ -1,13 +1,13 @@
{configs, pkgs, ...}
{configs, pkgs, ...}:
{
services.desktopManager.cosmic.enable = true;
services.displayManager.cosmic-greeter.enable = true;
enviroment.sessionVariable.COSMIC_DATA_CONTROLL_ENABLED = 1;
environment.sessionVariables.COSMIC_DATA_CONTROLL_ENABLED = 1;
services.geoclue2.enable = true;
enviroment.systemPackages = with pkgs; [
environment.systemPackages = with pkgs; [
cosmic-reader
]
];
}