diff options
Diffstat (limited to 'nixos/common.nix')
-rw-r--r-- | nixos/common.nix | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/nixos/common.nix b/nixos/common.nix index bbeb09b..9f3abbe 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -86,6 +86,8 @@ in # Enable touchpad support (enabled default in most desktopManager). services.xserver.libinput.enable = true; + # -------------------- users --------------------- + # Define a user account. Don't forget to set a password with ‘passwd’. users.users.lx = { isNormalUser = true; @@ -98,6 +100,8 @@ in ]; }; + # -------------------- packages --------------------- + nixpkgs.config.allowUnfree = true; nix.gc.automatic = true; nix.gc.options = "--delete-older-than 30d"; @@ -164,7 +168,6 @@ in file alacritty - st firefox qutebrowser (tor-browser-bundle-bin.override { useHardenedMalloc = false; }) @@ -185,6 +188,16 @@ in nicotine-plus gnome.seahorse gqrx + + (st.overrideAttrs (oldAttrs: rec { + patches = [ + #../st/st-colorschemes-0.8.5.diff + #../st/st-copyurl-0.8.4.diff + ]; + configFile = writeText "config.def.h" (builtins.readFile ../st/config.h); + postPatch = "${oldAttrs.postPatch}\n cp ${configFile} config.def.h"; + })) + ]; programs.vim.defaultEditor = true; |