This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
afew | |
alacritty | |
alot | |
astroid | |
autorandr | |
bash | |
bat | |
beets | |
blueman-applet | |
broot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
home.packages = with pkgs; [ | |
(haskellPackages.ghcWithPackages (hpkgs: [ | |
hpkgs.pretty-show | |
hpkgs.random | |
hpkgs.text | |
hpkgs.turtle | |
])) | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
# … | |
services.xserver = { | |
enable = true; | |
layout = "us"; | |
displayManager.lightdm.enable = true; | |
displayManager.job.logToJournal = false; | |
# displayManager.job.logToFile = lib.mkForce false; | |
monitorSection = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, ... }: | |
with lib; | |
let | |
cfg = config.services.nixBinaryCacheCache; | |
nginxCfg = config.services.nginx; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
# … | |
services.dunst = { | |
enable = true; | |
settings = { | |
global = { | |
browser = "${config.programs.firefox.package}/bin/firefox -new-tab"; | |
dmenu = "${pkgs.rofi}/bin/rofi -dmenu"; | |
follow = "mouse"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
let | |
stdenv = pkgs.stdenv; | |
deps = with pkgs; [ | |
zlib.out | |
xlibs.libSM.out | |
# More packages go here... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, pkgs, lib, ... }: | |
let | |
secrets = import ./secrets.nix; | |
in | |
{ | |
home.packages = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/home-environment.nix b/modules/home-environment.nix | |
index 212e1c6..4f52b5a 100644 | |
--- a/modules/home-environment.nix | |
+++ b/modules/home-environment.nix | |
@@ -92,6 +92,8 @@ let | |
homeFilePattern = "-home-manager-files/"; | |
+ safeBaseNameOf = f: replaceStrings [ " " ] [ "_" ] (baseNameOf f); | |
+ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ config, lib, pkgs, ... }: | |
with lib; | |
let | |
cfg = config.programs.openssh; | |
keyPairType = types.submodule ( | |
{ name, config, ... }: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CONFIGURATION.NIX(5) NixOS Reference Pages CONFIGURATION.NIX(5) | |
NAME | |
configuration.nix - NixOS system configuration specification | |
DESCRIPTION | |
The file /etc/nixos/configuration.nix contains the declarative | |
specification of your NixOS system configuration. The command |
NewerOlder