From 630daabbd8df14614cdc6643a1b137f39c152af7 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Fri, 6 Sep 2024 16:28:24 +0200 Subject: [PATCH] feat(work): add specific configuration --- flake.nix | 8 +++++++- hosts/yorick-Latitude-7320/home-config.nix | 18 +++-------------- .../includes/home-manager.nix | 20 +++++++++++++++++++ 3 files changed, 30 insertions(+), 16 deletions(-) create mode 100644 hosts/yorick-Latitude-7320/includes/home-manager.nix diff --git a/flake.nix b/flake.nix index 88bb12b..7795410 100644 --- a/flake.nix +++ b/flake.nix @@ -91,9 +91,15 @@ in { hostname = "rick"; username = "ephase"; }; + modules = [ + ./home-manager/default.nix + ]; }; work = home-manager.lib.homeManagerConfiguration { - pkgs = nixpkgs.legacyPackages.x86_64-linux; + pkgs = import nixpkgs { + system = "x86_64-linux"; + overlays = [ nixgl.overlay ]; + }; extraSpecialArgs = { inherit stateVersion inputs; hostname = "yorick-Latitude-7320"; diff --git a/hosts/yorick-Latitude-7320/home-config.nix b/hosts/yorick-Latitude-7320/home-config.nix index 5fffa1a..b6bab6a 100644 --- a/hosts/yorick-Latitude-7320/home-config.nix +++ b/hosts/yorick-Latitude-7320/home-config.nix @@ -17,21 +17,9 @@ vifm.enable = true; zsh.enable = true; }; - video = { - kdenlive.enable = false; - mpv.enable = false; - }; - web.firefox.enable = true; - web.qutebrowser.enable = false; - web.webcord.enable = false; - gaming.lutris.enable = false; - desktop.sway = { - enable = false; - kanshi = false; - waybar = { - laptop = false; - gpuThermal.enable = false; - }; + web.firefox = { + enable = true; + enableNixGL = true; }; }; } diff --git a/hosts/yorick-Latitude-7320/includes/home-manager.nix b/hosts/yorick-Latitude-7320/includes/home-manager.nix new file mode 100644 index 0000000..0a17bd4 --- /dev/null +++ b/hosts/yorick-Latitude-7320/includes/home-manager.nix @@ -0,0 +1,20 @@ +{ pkgs, ... }: +{ + home.packages = with pkgs; [ + dejavu_fonts + font-awesome + lato + liberation_ttf + libertine + libnotify + (nerdfonts.override { + fonts = [ + "FiraCode" + ]; + }) + noto-fonts-emoji + noto-fonts-cjk + slurp + wl-clipboard + ]; +}