change skinny as well

This commit is contained in:
Cyryl Płotnicki 2020-07-25 08:26:12 +01:00
parent 466a0d95e1
commit bbc5d87701
4 changed files with 31 additions and 48 deletions

View file

@ -1,26 +1,12 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let {
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz; home.file.".config/i3/status.toml".source = ../../../.config/i3/status-double-bat.toml;
dotfiles = "/home/cyryl/dev/dotfiles";
in
{
nixpkgs.config = {
allowUnfree = true;
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
home.file.".config/i3/status.toml".source = /home/cyryl/dev/dotfiles/.config/i3/status-double-bat.toml; imports = [
../../home-common.nix
imports = [ ../../programs/git.nix
../../home-common.nix ../../gui.nix
../../programs/git.nix ../../gnome/home.nix
../../gui.nix ];
../../gnome/home.nix }
];
}

View file

@ -20,7 +20,19 @@
}; };
time.timeZone = "Europe/London"; time.timeZone = "Europe/London";
fonts.fontconfig.enable = true;
home-manager.users.cyryl = {...}: {
imports = [
./home.nix
];
home.stateVersion = config.system.stateVersion;
nixpkgs.overlays = config.nixpkgs.overlays;
nixpkgs.config = config.nixpkgs.config;
};
imports = [ imports = [
<home-manager/nixos>
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
../../boot.nix ../../boot.nix
../../common.nix ../../common.nix

View file

@ -1,26 +1,11 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{
home.file.".config/i3/status.toml".source = ../../../.config/i3/status-single-bat.toml;
let imports = [
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz; ../../home-common.nix
dotfiles = "/home/cyryl/dev/dotfiles"; ../../programs/git.nix
in ../../gui.nix
{ ../../i3/home.nix
nixpkgs.config = { ];
allowUnfree = true; }
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
home.file.".config/i3/status.toml".source = ~/dev/dotfiles/.config/i3/status-single-bat.toml;
imports = [
../../home-common.nix
../../programs/git.nix
../../gui.nix
../../i3/home.nix
];
}

View file

@ -1,7 +1,7 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
home.file.".config/nixpkgs/config.nix".source = /home/cyryl/dev/dotfiles/nixos/shell-config.nix; home.file.".config/nixpkgs/config.nix".source = ./shell-config.nix;
home.file.".gdbinit".text = '' home.file.".gdbinit".text = ''
set auto-load python-scripts on set auto-load python-scripts on
add-auto-load-safe-path /home/cyryl/dev/dotfiles/.gdbinit add-auto-load-safe-path /home/cyryl/dev/dotfiles/.gdbinit