idek
This commit is contained in:
parent
999f013f42
commit
e2760dbf7f
|
@ -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 = {
|
||||
|
|
Loading…
Reference in New Issue