Initial commit

This commit is contained in:
Charlotte Van Petegem 2020-02-06 19:53:43 +01:00
commit 4256a94080
22 changed files with 1179 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ pkgs, ... }:
{
imports = [
./secret.nix
../../programs/git/default.nix
../../programs/ssh/default.nix
../../programs/tmux/default.nix
../../programs/zsh/default.nix
];
i18n = {
defaultLocale = "en_IE.UTF-8";
extraLocaleSettings = {
LC_TIME = "en_GB.UTF-8";
};
};
console = {
font = "Lat2-Terminus16";
keyMap = "us";
};
nix.trustedUsers = [ "@wheel" ];
users = {
mutableUsers = false;
defaultUserShell = pkgs.zsh;
users = {
charlotte = {
isNormalUser = true;
home = "/home/charlotte";
description = "Charlotte Van Petegem";
extraGroups = [ "wheel" ];
};
};
};
}

BIN
profiles/common/secret.nix Normal file

Binary file not shown.

View file

@ -0,0 +1,126 @@
{ pkgs, ... }:
{
imports = [
./secret.nix
../../programs/dropbox/default.nix
../../programs/kitty/default.nix
../../programs/neovim/default.nix
../../programs/syncthing/default.nix
../../programs/sway/default.nix
];
services.pcscd = {
enable = true;
plugins = [ pkgs.ccid ];
};
sound.enable = true;
hardware.pulseaudio.enable = true;
fonts = {
enableFontDir = true;
fontconfig = {
enable = true;
defaultFonts = {
emoji = [ "Noto Color Emoji" ];
monospace = [ "Fira Code" ];
sansSerif = [ "Noto Sans" ];
serif = [ "Noto Serif" ];
};
};
fonts = with pkgs; [
fira-code
fira-code-symbols
font-awesome
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
noto-fonts-extra
];
};
users.users.charlotte.extraGroups = [ "networkmanager" "video" "input" ];
home-manager.users.charlotte = { pkgs, ... }: {
nixpkgs = {
config = {
allowUnfree = true;
};
};
home = {
packages = with pkgs; [
chromium
eid-mw
firefox
hledger
libreoffice
moreutils
mpv
okular
rambox
ranger
sshfs
thunderbird
vanilla-dmz
wl-clipboard
];
file = {
".icons/default/index.theme".text = ''
[Icon Theme]
Name=Default
Comment=Default Cursor Theme
Inherits=Vanilla-DMZ
'';
};
};
dconf.settings = {
"org/gnome/desktop/interface" = {
gtk-theme = "Arc";
icon-theme = "Arc";
cursor-theme = "Vanilla-DMZ";
};
};
gtk = {
enable = true;
font = {
package = pkgs.noto-fonts;
name = "Noto Sans 10";
};
gtk2.extraConfig = ''
gtk-cursor-theme-name = "Vanilla-DMZ"
gtk-cursor-theme-size = 0
'';
gtk3.extraConfig = {
gtk-cursor-theme-name = "Vanilla-DMZ";
gtk-cursor-theme-size = 0;
};
iconTheme = {
package = pkgs.arc-icon-theme;
name = "Arc";
};
theme = {
package = pkgs.arc-theme;
name = "Arc";
};
};
qt = {
enable = true;
platformTheme = "gtk";
};
xdg = {
enable = true;
userDirs = {
enable = true;
desktop = "\$HOME/desktop";
documents = "\$HOME/documents";
download = "\$HOME/downloads";
music = "\$HOME/music";
pictures = "\$HOME/pictures";
publicShare = "\$HOME/desktop";
templates = "\$HOME/templates";
videos = "\$HOME/videos";
};
};
};
}

Binary file not shown.