diff --git a/nixos/hosts/thalassa/aoife/configuration.nix b/nixos/hosts/thalassa/aoife/configuration.nix index 2375e15..cb4e538 100644 --- a/nixos/hosts/thalassa/aoife/configuration.nix +++ b/nixos/hosts/thalassa/aoife/configuration.nix @@ -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? - } + }; +} diff --git a/nixos/hosts/thalassa/aoife/home/default.nix b/nixos/hosts/thalassa/aoife/home/default.nix index c16b0f0..4682ea1 100644 --- a/nixos/hosts/thalassa/aoife/home/default.nix +++ b/nixos/hosts/thalassa/aoife/home/default.nix @@ -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;