mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 09:18:35 +02:00
feat: simplify flake.nix
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{ pkgs, ...}:
|
||||
{
|
||||
{pkgs, ...}: {
|
||||
# i3 window manager's config, based on https://github.com/endeavouros-team/endeavouros-i3wm-setup
|
||||
|
||||
imports = [
|
||||
|
||||
@@ -1,15 +1,11 @@
|
||||
{ pkgs
|
||||
, ...
|
||||
}: {
|
||||
{pkgs, ...}: {
|
||||
home.packages = with pkgs; [
|
||||
firefox
|
||||
xsel # for clipboard support in x11, required by tmux's clipboard support
|
||||
xsel # for clipboard support in x11, required by tmux's clipboard support
|
||||
];
|
||||
|
||||
|
||||
# TODO vscode & chrome both have wayland support, but they don't work with fcitx5, need to fix it.
|
||||
programs = {
|
||||
|
||||
# source code: https://github.com/nix-community/home-manager/blob/master/modules/programs/chromium.nix
|
||||
google-chrome = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user