This commit is contained in:
Bit Borealis 2023-03-17 05:36:33 +00:00
parent 999f013f42
commit e2760dbf7f
Signed by: theotheroracle
GPG Key ID: 2D816A2DCA6E5649
2 changed files with 19 additions and 10 deletions

View File

@ -1,12 +1,15 @@
# welcome to susOS config, run nixos-help if you need it .
{ config, pkgs, ... }:
let
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
unstable = import <nixos-unstable> { config = { allowUnfree = true; }; };
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/master.tar.gz";
in{
imports =
[ # hardware scan
./hardware-configuration.nix
<home-manager/nixos>
# <home-manager/nixos>
# home manager
(import "${home-manager}/nixos")
];
# nix options
@ -20,9 +23,9 @@ in{
options = "--delete-older-than 30d";
};
environment.etc.machine-info.text = lib.strings.toShellVars {
PRETTY_HOSTNAME = "vulkan 🌋";
};
# environment.etc.machine-info.text = lib.strings.toShellVars {
# PRETTY_HOSTNAME = "vulkan 🌋";
# };
# bootloader
boot.loader.systemd-boot.enable = true;
@ -59,6 +62,9 @@ in{
xkbVariant = "";
};
# enable dconf configuration for gnome and other supported applications
programs.dconf.enable = true;
# configure pipewire
sound.enable = true;
hardware.pulseaudio.enable = false;
@ -71,24 +77,29 @@ in{
jack.enable = true;
};
# add and configure users
users.users.hive = {
isNormalUser = true;
description = "The Hive";
extraGroups = [ "networkmanager" "wheel" ];
shell = pkgs.bash;
};
# import home-manager config from home.nix
home-manager.users.hive = import ./home.nix;
# install packages
# `nix search` to add more
nixpkgs.config.allowUnfree = true;
environment.systemPackages = with pkgs; [
unstable.fish
# unstable.fish
pass
git
neovim
];
# set fish as default shell for all users
users.defaultUserShell = unstable.fish;
# suid wrapper ( for things which need privelidged acccess ? )
programs.mtr.enable = true;
programs.gnupg.agent = {

View File

@ -11,6 +11,7 @@
pwgen
kitty
dino
termpdfpy
ripgrep
syncthing
btop
@ -31,9 +32,6 @@
appindicator
]);
# dconf ??? for to configure gnome ???
programs.dconf.enable = true;
# uh configure pass or something
programs.password-store = {
enable = true;