feat: replace vscode by code-server temporarily, adjust flake.nix

This commit is contained in:
ryan4yin
2023-05-14 17:21:13 +08:00
parent e05f4bec8f
commit d8a4bde357
3 changed files with 33 additions and 37 deletions

View File

@@ -2,11 +2,26 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ config, pkgs, home-manager, nur, ... } @ args:
{
imports =
[
({pkgs, config, ... }: {
config = {
# use it as an overlay
nixpkgs.overlays = [
args.nixpkgs-wayland.overlay
];
};
})
# This adds a nur configuration option.
# Use `config.nur.repos.<user>.<package-name>` in NixOS Module for packages from the NUR.
nur.nixosModules.nur
./cifs-mount.nix
../../modules/system.nix
../../modules/hyprland.nix

View File

@@ -2,11 +2,25 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ config, pkgs, home-manager, nur, ... } @args:
{
imports =
[
({pkgs, config, ... }: {
config = {
# use it as an overlay
nixpkgs.overlays = [
args.nixpkgs-wayland.overlay
];
};
})
# This adds a nur configuration option.
# Use `config.nur.repos.<user>.<package-name>` in NixOS Module for packages from the NUR.
nur.nixosModules.nur
../../modules/system.nix
../../modules/hyprland.nix
../../modules/fcitx5