move duplicated setting to common.nix

This commit is contained in:
Cyryl Płotnicki 2022-03-04 10:12:08 +01:00
parent 5b93ec1e84
commit b1f11c8684
6 changed files with 15 additions and 19 deletions

View file

@ -11,6 +11,4 @@
boot.kernelPackages = pkgs.linuxPackages_latest;
time.timeZone = "Europe/London";
fonts.fontconfig.enable = true;
}

View file

@ -46,8 +46,6 @@
enable = true;
};
fonts.fontconfig.enable = true;
home-manager.users.cyryl = { ... }: {
imports = [
../../home-manager/programs/kitty.nix

View file

@ -22,7 +22,6 @@
time.timeZone = "Europe/London";
services.thermald.enable = true;
fonts.fontconfig.enable = true;
home-manager.users.cyryl = { ... }: {
imports = [
../../home-manager/programs/kitty.nix

View file

@ -19,13 +19,13 @@
time.timeZone = "Europe/Warsaw";
boot.kernelPackages = pkgs.linuxPackages_latest;
hardware.trackpoint.enable = true;
services.thermald.enable = true;
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 50;
};
fonts.fontconfig.enable = true;
home-manager.users.cyryl = { ... }: {
imports = [
../../home-manager/programs/termite.nix

View file

@ -50,6 +50,7 @@
autoPrune.enable = true;
};
fonts.fontconfig.enable = true;
fonts.fonts = with pkgs; [ powerline-fonts weather-icons material-icons source-code-pro fira-code noto-fonts-emoji emojione iosevka font-awesome nerdfonts ];
nix = {

View file

@ -1,16 +1,16 @@
let
nixpkgs = import <nixpkgs> {};
nixpkgs = import <nixpkgs> { };
in
with nixpkgs;
stdenv.mkDerivation {
name = "legacy_shell";
buildInputs = [
(pkgs.writeShellScriptBin "nix-experimental" ''
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
'')
cacert
git
];
shellHook = ''
with nixpkgs;
stdenv.mkDerivation {
name = "legacy_shell";
buildInputs = [
(pkgs.writeShellScriptBin "nix-experimental" ''
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
'')
cacert
git
];
shellHook = ''
'';
}
}