Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
Alex Stan 2023-03-27 18:21:54 +03:00
parent 92210739cb
commit 8529f8bd45
3 changed files with 47 additions and 15 deletions

View file

@ -19,10 +19,12 @@
./ultrapc/configuration.nix ./ultrapc/configuration.nix
]; ];
}; };
home-manager.extraSpecialArgs = { inherit inputs; };
defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux; defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
homeConfigurations = { homeConfigurations = {
ultra = home-manager.lib.homeManagerConfiguration { ultra = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
# specialArgs = { inherit inputs; };
modules = [ ./ultrapc/home.nix ]; modules = [ ./ultrapc/home.nix ];
}; };
}; };

View file

@ -4,16 +4,9 @@
{ config, pkgs, lib, inputs, ... }: { config, pkgs, lib, inputs, ... }:
let let
# nix-software-center = import (pkgs.fetchFromGitHub {
# owner = "vlinkz";
# repo = "nix-software-center";
# rev = "0.1.1";
# sha256 = "0frigabszyfkphfbsniaa1d546zm8a2gx0cqvk2fr2qfa71kd41n";
# }) {};
nix-software-center = inputs.nix-software-center.packages.${pkgs.system}.nix-software-center; nix-software-center = inputs.nix-software-center.packages.${pkgs.system}.nix-software-center;
doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default; doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default;
in in {
{
imports = imports =
[ # Include the results of the hardware scan. [ # Include the results of the hardware scan.
./hardware-configuration.nix ./hardware-configuration.nix
@ -99,7 +92,6 @@ in
packages = with pkgs; [ packages = with pkgs; [
firefox firefox
kate kate
# thunderbird
distrobox distrobox
fish fish
nushell nushell
@ -112,7 +104,6 @@ in
starship starship
atuin atuin
clang clang
# clang++
gcc gcc
exa exa
gnumake gnumake
@ -134,7 +125,6 @@ in
microsoft-edge microsoft-edge
doom-emacs doom-emacs
ripgrep ripgrep
# microsoft-edge-dev # fails to build
]; ];
shell = pkgs.fish; shell = pkgs.fish;
hashedPassword = "$6$OBjnSQhhJgHsr5LE$jFtUz.2qv0l2viv86exXmfHWC0fDFXKD3rqH41NmqgkdoBrwY2rPkDBCPjdq7PSoeudYcQ0nXxJvh1N7EIUs90"; hashedPassword = "$6$OBjnSQhhJgHsr5LE$jFtUz.2qv0l2viv86exXmfHWC0fDFXKD3rqH41NmqgkdoBrwY2rPkDBCPjdq7PSoeudYcQ0nXxJvh1N7EIUs90";

View file

@ -1,12 +1,52 @@
{pkgs, ...}: { { pkgs, inputs, ... }:
let
nix-software-center = inputs.nix-software-center.packages.${pkgs.system}.nix-software-center;
doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default;
in {
home = { home = {
username = "ultra"; username = "ultra";
homeDirectory = "/home/ultra/"; homeDirectory = "/home/ultra/";
stateVersion = "22.11"; stateVersion = "22.11";
packages = with pkgs; [ packages = with pkgs; [
# neovim firefox
# bat kate
distrobox
fish
nushell
git
bat
gnupg1
zoom-us
google-chrome
zoxide
starship
atuin
clang
gcc
exa
gnumake
plasma-browser-integration
libsForQt5.bismuth
whatsapp-for-linux
signal-desktop
nodejs
onlyoffice-bin
drawio
xclip
steam
packagekit
armcord
packagekit
rnote
obsidian
gnome-obfuscate
microsoft-edge
doom-emacs
ripgrep
]; ];
}; };
programs.home-manager.enable = true; programs = {
home-manager.enable = true;
# fish.enable = true;
};
} }