chore: cleanup imports, enable flakes, and add system utilities 🎨
This commit is contained in:
parent
e14db4bfd4
commit
0ed201053c
1 changed files with 45 additions and 27 deletions
|
|
@ -5,13 +5,12 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports = [
|
||||||
[ # Include the results of the hardware scan.
|
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./tmux.nix
|
./tmux.nix
|
||||||
# ./uxplay.nix
|
|
||||||
./fish.nix
|
|
||||||
./neovim.nix
|
./neovim.nix
|
||||||
|
./fish.nix
|
||||||
|
# ./uxplay.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|
@ -23,6 +22,8 @@
|
||||||
# NOTE: You can not use networking.networkmanager with networking.wireless
|
# NOTE: You can not use networking.networkmanager with networking.wireless
|
||||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
|
|
||||||
|
nix.settings.experimental-features = [ "nix-command" "flakes" ]; # for vscode remote server
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
|
|
@ -61,6 +62,16 @@
|
||||||
xkb.variant = "";
|
xkb.variant = "";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
programs.nix-ld.enable = true;
|
||||||
|
# TODO: move to home manager (?)
|
||||||
|
programs = {
|
||||||
|
direnv = {
|
||||||
|
enable = true;
|
||||||
|
enableFishIntegration = true;
|
||||||
|
nix-direnv.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
|
|
@ -89,11 +100,12 @@
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "dth";
|
description = "dth";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" ];
|
||||||
|
# TODO: use home manager to define user packages
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
vlc # video player
|
vlc # video player
|
||||||
kate # editor
|
kate # editor
|
||||||
ripgrep # faster grep
|
ripgrep # faster grep
|
||||||
|
nextcloud-client # private cloud
|
||||||
# thunderbird # bloat
|
# thunderbird # bloat
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
@ -104,43 +116,49 @@
|
||||||
# install kde partition manager
|
# install kde partition manager
|
||||||
programs.partition-manager.enable = true;
|
programs.partition-manager.enable = true;
|
||||||
|
|
||||||
|
# TODO: install gnome disk manager
|
||||||
|
# programs.gnome-disks.enable = true;
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
pkgs.git # version control
|
|
||||||
|
|
||||||
pkgs.tmux # terminal multiplexer
|
# tmux # activated in tmux.nix
|
||||||
pkgs.fzf # fuzzy matcher
|
# vim # using neovim in stead
|
||||||
|
# neovim # activated in neovim.nix
|
||||||
|
|
||||||
pkgs.neofetch # system profile: choose this
|
git # version control
|
||||||
pkgs.fastfetch # or this
|
gh # github cli tool
|
||||||
|
|
||||||
pkgs.tldr # community driven manpage alternative
|
ripgrep # faster grep
|
||||||
|
busybox # useful programs e.g. tree, unzip etc
|
||||||
|
openssl # cryptography swiss army knife
|
||||||
|
xdg-utils # terminal desktop intergrations (i.e. allow terminal to open browser)
|
||||||
|
|
||||||
pkgs.thunderbird # email / calendar
|
neofetch # system info
|
||||||
pkgs.telegram-desktop # instant messager
|
btop # resource monitor
|
||||||
|
wget # downloader
|
||||||
|
tldr # community driven manpage alternative
|
||||||
|
|
||||||
# pkgs.gimp # image editor
|
ntfs3g # mount NTFS drives on linux
|
||||||
# pkgs.libsForQt5.kdenlive # video editor
|
gptfdisk # formatting drives - like fdisk but better
|
||||||
|
# this stuff runs gparted
|
||||||
|
|
||||||
|
# gimp # bloat image editing
|
||||||
|
# blender # bloat 3D modelling
|
||||||
|
# inkscape # bloat vecor graphics / drawing
|
||||||
|
# kdenlive # bloat video editor
|
||||||
|
|
||||||
pkgs.pyenv # python environment manager
|
# desktop applications
|
||||||
pkgs.poetry # python package manager
|
thunderbird # email / calendar
|
||||||
pkgs.python3 # trusty old python
|
telegram-desktop # instant messager
|
||||||
|
|
||||||
gcc # gnu compiler collection (necessary for python)
|
cowsay
|
||||||
pkg-config # allows packages to find information about other packages (necessary for python)
|
lolcat
|
||||||
gnumake # python
|
|
||||||
zlib # python
|
|
||||||
|
|
||||||
|
|
||||||
# misc
|
|
||||||
cowsay
|
|
||||||
lolcat
|
|
||||||
wget
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# firefox smooth scrolling
|
# firefox smooth scrolling
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue