minor aoife config
This commit is contained in:
parent
a258c77730
commit
eb4a55ac76
2 changed files with 26 additions and 18 deletions
|
@ -2,15 +2,12 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-z
|
||||
];
|
||||
{ config, pkgs, inputs, ... }: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-z
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
boot = {
|
||||
|
@ -19,9 +16,7 @@
|
|||
efi.canTouchEfiVariables = true;
|
||||
efi.efiSysMountPoint = "/boot/efi";
|
||||
};
|
||||
kernel = {
|
||||
sysctl = { "fs.inotify.max_user_watches" = 524288; };
|
||||
};
|
||||
kernel = { sysctl = { "fs.inotify.max_user_watches" = 524288; }; };
|
||||
};
|
||||
|
||||
fileSystems."/".options = [ "compress=zstd" ];
|
||||
|
@ -88,6 +83,8 @@
|
|||
#media-session.enable = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ gnome3.gnome-tweaks ];
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.victor = {
|
||||
isNormalUser = true;
|
||||
|
@ -129,4 +126,5 @@
|
|||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.05"; # Did you read the comment?
|
||||
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -4,14 +4,26 @@ let
|
|||
inherit (pkgs.texlive) scheme-full;
|
||||
dnd-5e-latex-template = { pkgs = [ pkgs.v.dnd-5e-latex-template ]; };
|
||||
});
|
||||
in
|
||||
{
|
||||
in {
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.username = "victor";
|
||||
home.homeDirectory = "/home/victor";
|
||||
home.stateVersion = "23.05";
|
||||
|
||||
# # make sure applications show up in Gnome
|
||||
# home.activation = {
|
||||
# linkDesktopApplications = {
|
||||
# after = [ "writeBoundary" "createXdgUserDirectories" ];
|
||||
# before = [ ];
|
||||
# data = ''
|
||||
# rm -rf ${config.xdg.dataHome}/"applications/home-manager"
|
||||
# mkdir -p ${config.xdg.dataHome}/"applications/home-manager"
|
||||
# cp -Lr /etc/profiles/per-user/${config.home.username}/share/applications/* ${config.xdg.dataHome}/"applications/home-manager/"
|
||||
# '';
|
||||
# };
|
||||
# };
|
||||
|
||||
home.packages = with pkgs; [
|
||||
btop
|
||||
calibre
|
||||
|
@ -59,9 +71,7 @@ in
|
|||
clock24 = true;
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
};
|
||||
programs.firefox = { enable = true; };
|
||||
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue