Updated flake inputs
This commit is contained in:
@@ -1,4 +1,31 @@
|
||||
{ pkgs, username, ... }: {
|
||||
{ pkgs, username, ... }:
|
||||
|
||||
let rsh = pkgs.rustPlatform.buildRustPackage {
|
||||
pname = "rsh";
|
||||
version = "0.0.1";
|
||||
buildType = "debug";
|
||||
|
||||
src = ../../overlay/pkgs/rsh/rsh;
|
||||
|
||||
cargoHash = "sha256-8Lb7AohSah2A7pcoT2JPDgza0LfIyD897yj4QHNklDw=";
|
||||
cargoLock = {
|
||||
lockFile = ../../overlay/pkgs/rsh/rsh/Cargo.lock;
|
||||
};
|
||||
|
||||
buildInputs = [ ];
|
||||
|
||||
meta = {
|
||||
description = "Modern shell scripting";
|
||||
homepage = "https://github.com/pagedMov/rsh";
|
||||
license = pkgs.lib.licenses.gpl3;
|
||||
maintainers = with pkgs.lib.maintainers; [ pagedMov ];
|
||||
};
|
||||
passthru = {
|
||||
shellPath = "/bin/rsh";
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
imports = [ ./hardware.nix ];
|
||||
|
||||
# My module options
|
||||
@@ -8,6 +35,7 @@
|
||||
sddmConfig.enable = false;
|
||||
stylixConfig.enable = true;
|
||||
nixSettings.enable = true;
|
||||
#consoleSettings.enable = true;
|
||||
};
|
||||
hardwareCfg = {
|
||||
networkModule.enable = true;
|
||||
@@ -25,7 +53,7 @@
|
||||
|
||||
environment = {
|
||||
variables = { PATH = "${pkgs.clang-tools}/bin:$PATH"; };
|
||||
shells = with pkgs; [ zsh bash ];
|
||||
shells = [ rsh pkgs.zsh pkgs.bash ];
|
||||
};
|
||||
|
||||
users = {
|
||||
@@ -36,7 +64,7 @@
|
||||
isNormalUser = true;
|
||||
initialPassword = "1234";
|
||||
shell = pkgs.zsh;
|
||||
extraGroups = [ "wheel" "persist" "libvirtd" ];
|
||||
extraGroups = [ "input" "wheel" "persist" "libvirtd" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user