diff options
author | Tom Barrett <tom@tombarrett.xyz> | 2024-05-21 20:48:52 +0200 |
---|---|---|
committer | tom barrett <tom@tombarrett.xyz> | 2024-05-21 21:36:10 +0200 |
commit | 6cd87ee9200e57b36bc2beb9d9835add106b3b22 (patch) | |
tree | 6445906b5848f3db046a700ae5cbd46e7a6a6afc | |
parent | c8ffbad343cb9e58ed359cf74a6d231528b6aa5e (diff) |
more packages, cursor fix, git options, set term properly
-rw-r--r-- | configuration.nix | 5 | ||||
-rw-r--r-- | flake.nix | 2 | ||||
-rw-r--r-- | home.nix | 11 | ||||
-rw-r--r-- | xmonad.hs | 9 |
4 files changed, 21 insertions, 6 deletions
diff --git a/configuration.nix b/configuration.nix index 28c5d7d..e5bd3b5 100644 --- a/configuration.nix +++ b/configuration.nix @@ -4,7 +4,10 @@ ... }: { imports = [./hardware-configuration.nix]; - nix.settings.experimental-features = ["nix-command" "flakes"]; + nix.settings = { + experimental-features = ["nix-command" "flakes"]; + auto-optimise-store = true; + }; boot.loader.grub.device = "/dev/sda"; time.timeZone = "Europe/Berlin"; @@ -13,7 +13,7 @@ nixvim, self, }: { - nixosConfigurations."hostname" = nixpkgs.lib.nixosSystem { + nixosConfigurations.default = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ ./configuration.nix @@ -21,6 +21,7 @@ in { acpi bemenu binutils + brave feh file firefox @@ -28,10 +29,17 @@ in { gimp haskellPackages.fourmolu htop + jq + ncdu ncmpcpp nixvim.packages.x86_64-linux.default + nmap + pavucontrol + python3Packages.ipython + scrot tmux tree + unzip vim xautolock xmobar @@ -41,7 +49,6 @@ in { // { LESS = "-R -F"; EDITOR = "vim"; - TERM = "xterm-256color"; }; file.".xinitrc".text = '' @@ -61,6 +68,7 @@ in { alacritty = { enable = true; settings = { + env.TERM = "xterm-256color"; font = { bold.family = "Hermit"; bold_italic.family = "Hermit"; @@ -89,6 +97,7 @@ in { extraConfig = { init.defaultBranch = "master"; pull.rebase = true; + push.autoSetupRemote = true; }; }; gpg.enable = true; @@ -11,6 +11,7 @@ import XMonad.Prompt import XMonad.Prompt.FuzzyMatch import XMonad.Prompt.Pass import qualified XMonad.StackSet as W +import XMonad.Util.Cursor import XMonad.Util.EZConfig import XMonad.Util.SpawnOnce @@ -106,7 +107,9 @@ main = do ] ) (map show [1 .. 9]) - , startupHook = do - spawnOnce "feh --bg-fill --no-fehbg --randomize /home/tom/src/nixos/wallpapers" - spawnOnce "xautolock -locker slock -time 1" + , startupHook = + do + spawnOnce "feh --bg-fill --no-fehbg --randomize /home/tom/src/nixos/wallpapers" + spawnOnce "xautolock -locker slock -time 1" + setDefaultCursor xC_left_ptr } |