added tide and removed things from the 'main' config to see if it still works

This commit is contained in:
Christoph Hollizeck 2024-03-26 17:48:15 +01:00
parent 17bd0f8861
commit 208e4947a5
4 changed files with 41 additions and 56 deletions

View file

@ -16,7 +16,8 @@ in
shellAliases = {
vim = "nvim";
vimdiff = "nvim -d"; };
vimdiff = "nvim -d";
};
stateVersion = "23.11";
};

View file

@ -6,12 +6,12 @@ in
{
options.wyrdgard.apps.vivaldi = with types; {
enable = mkBoolOpt false "Whether or not to enable vivaldi browser";
};
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
vivaldi
vivaldi-ffmpeg-codecs
];
};
];
};
}

View file

@ -5,7 +5,8 @@ with lib.wyrdgard;
let
cfg = config.wyrdgard.tools.nix-ld;
in {
in
{
options.wyrdgard.tools.nix-ld = with types; {
enable = mkBoolOpt false "Wether or not to enable nix-ld";
};

View file

@ -1,39 +1,22 @@
{ pkgs , config , lib, ... }:
{ pkgs, config, lib, ... }:
with lib;
with lib.wyrdgard;
{
imports = [ ./hardware.nix ];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.blacklistedKernelModules = [ "hyperv-fb" ];
virtualisation.hypervGuest.videoMode = "1920x1080";
users.users.cholli = {
isNormalUser = true;
extraGroups = [ "wheel" ];
};
environment.systemPackages = with pkgs; [
neovim
snowfallorg.flake
git
gitAndTools.gh
kitty
fish
vivaldi
fishPlugins.tide
fd
tree
ripgrep
nixfmt
];
home-manager.useGlobalPkgs = true;
networking.networkmanager.enable = true;
services.xserver = {
enable = true;
displayManager.sddm = {
@ -50,11 +33,11 @@ with lib.wyrdgard;
# Configure Home-Manager options from NixOS.
snowfallorg.user.cholli.home.config = {
programs.kitty= {
programs.kitty = {
theme = "Tokyo Night";
shellIntegration.enableFishIntegration = true;
};
};
};
wyrdgard = {
apps = {