move duplicated setting to common.nix
This commit is contained in:
parent
5b93ec1e84
commit
b1f11c8684
6 changed files with 15 additions and 19 deletions
|
@ -11,6 +11,4 @@
|
|||
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
time.timeZone = "Europe/London";
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
}
|
||||
|
|
|
@ -46,8 +46,6 @@
|
|||
enable = true;
|
||||
};
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
|
||||
home-manager.users.cyryl = { ... }: {
|
||||
imports = [
|
||||
../../home-manager/programs/kitty.nix
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
let
|
||||
nixpkgs = import <nixpkgs> {};
|
||||
nixpkgs = import <nixpkgs> { };
|
||||
in
|
||||
with nixpkgs;
|
||||
stdenv.mkDerivation {
|
||||
with nixpkgs;
|
||||
stdenv.mkDerivation {
|
||||
name = "legacy_shell";
|
||||
buildInputs = [
|
||||
(pkgs.writeShellScriptBin "nix-experimental" ''
|
||||
|
@ -13,4 +13,4 @@ in
|
|||
];
|
||||
shellHook = ''
|
||||
'';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue