From 667c7fad375e75ce2f9244c1d2894dd0077ec5f0 Mon Sep 17 00:00:00 2001 From: Gustav Bruhn Date: Mon, 17 Mar 2025 19:49:04 +0100 Subject: [PATCH] add nix language server --- hosts/framework/configuration.nix | 5 ++--- modules/nixos/cosmic.nix | 8 ++++---- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/hosts/framework/configuration.nix b/hosts/framework/configuration.nix index 8e30a27..846526a 100644 --- a/hosts/framework/configuration.nix +++ b/hosts/framework/configuration.nix @@ -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 ]; diff --git a/modules/nixos/cosmic.nix b/modules/nixos/cosmic.nix index 11ef7e3..3af3708 100644 --- a/modules/nixos/cosmic.nix +++ b/modules/nixos/cosmic.nix @@ -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 - ] + ]; }