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
];
};
home-manager.extraSpecialArgs = { inherit inputs; };
defaultPackage.x86_64-linux = home-manager.defaultPackage.x86_64-linux;
homeConfigurations = {
ultra = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
# specialArgs = { inherit inputs; };
modules = [ ./ultrapc/home.nix ];
};
};

View file

@ -4,16 +4,9 @@
{ config, pkgs, lib, inputs, ... }:
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;
doom-emacs = inputs.nix-doom-emacs.packages.${pkgs.system}.default;
in
{
in {
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@ -99,7 +92,6 @@ in
packages = with pkgs; [
firefox
kate
# thunderbird
distrobox
fish
nushell
@ -112,7 +104,6 @@ in
starship
atuin
clang
# clang++
gcc
exa
gnumake
@ -134,7 +125,6 @@ in
microsoft-edge
doom-emacs
ripgrep
# microsoft-edge-dev # fails to build
];
shell = pkgs.fish;
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 = {
username = "ultra";
homeDirectory = "/home/ultra/";
stateVersion = "22.11";
packages = with pkgs; [
# neovim
# bat
firefox
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;
};
}