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;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
time.timeZone = "Europe/London";
|
time.timeZone = "Europe/London";
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,8 +46,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
fonts.fontconfig.enable = true;
|
|
||||||
|
|
||||||
home-manager.users.cyryl = { ... }: {
|
home-manager.users.cyryl = { ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../../home-manager/programs/kitty.nix
|
../../home-manager/programs/kitty.nix
|
||||||
|
|
|
@ -22,7 +22,6 @@
|
||||||
time.timeZone = "Europe/London";
|
time.timeZone = "Europe/London";
|
||||||
|
|
||||||
services.thermald.enable = true;
|
services.thermald.enable = true;
|
||||||
fonts.fontconfig.enable = true;
|
|
||||||
home-manager.users.cyryl = { ... }: {
|
home-manager.users.cyryl = { ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../../home-manager/programs/kitty.nix
|
../../home-manager/programs/kitty.nix
|
||||||
|
|
|
@ -19,13 +19,13 @@
|
||||||
time.timeZone = "Europe/Warsaw";
|
time.timeZone = "Europe/Warsaw";
|
||||||
|
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||||
|
hardware.trackpoint.enable = true;
|
||||||
services.thermald.enable = true;
|
services.thermald.enable = true;
|
||||||
zramSwap = {
|
zramSwap = {
|
||||||
enable = true;
|
enable = true;
|
||||||
algorithm = "zstd";
|
algorithm = "zstd";
|
||||||
memoryPercent = 50;
|
memoryPercent = 50;
|
||||||
};
|
};
|
||||||
fonts.fontconfig.enable = true;
|
|
||||||
home-manager.users.cyryl = { ... }: {
|
home-manager.users.cyryl = { ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../../home-manager/programs/termite.nix
|
../../home-manager/programs/termite.nix
|
||||||
|
|
|
@ -50,6 +50,7 @@
|
||||||
autoPrune.enable = true;
|
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 ];
|
fonts.fonts = with pkgs; [ powerline-fonts weather-icons material-icons source-code-pro fira-code noto-fonts-emoji emojione iosevka font-awesome nerdfonts ];
|
||||||
|
|
||||||
nix = {
|
nix = {
|
||||||
|
|
26
shell.nix
26
shell.nix
|
@ -1,16 +1,16 @@
|
||||||
let
|
let
|
||||||
nixpkgs = import <nixpkgs> {};
|
nixpkgs = import <nixpkgs> { };
|
||||||
in
|
in
|
||||||
with nixpkgs;
|
with nixpkgs;
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "legacy_shell";
|
name = "legacy_shell";
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
(pkgs.writeShellScriptBin "nix-experimental" ''
|
(pkgs.writeShellScriptBin "nix-experimental" ''
|
||||||
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
|
exec ${pkgs.nixUnstable}/bin/nix --experimental-features "nix-command flakes" "$@"
|
||||||
'')
|
'')
|
||||||
cacert
|
cacert
|
||||||
git
|
git
|
||||||
];
|
];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue