nixos: refactor home
This commit is contained in:
parent
b154030d21
commit
a39e13373b
|
@ -11,6 +11,7 @@ in
|
|||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./nvidia.nix
|
||||
./home.nix
|
||||
];
|
||||
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
|
@ -82,19 +83,6 @@ in
|
|||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
services.libinput.enable = true;
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.kamov = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
packages = with pkgs; [
|
||||
anki
|
||||
discord
|
||||
spotify
|
||||
firefox-devedition
|
||||
unstable.neovide
|
||||
];
|
||||
};
|
||||
|
||||
# Enable unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
@ -130,9 +118,8 @@ in
|
|||
enableSSHSupport = true;
|
||||
};
|
||||
};
|
||||
steam = {
|
||||
enable = true;
|
||||
};
|
||||
steam.enable = true;
|
||||
fish.enable = true;
|
||||
git = {
|
||||
enable = true;
|
||||
config = {
|
||||
|
|
24
nixos/msi/home.nix
Normal file
24
nixos/msi/home.nix
Normal file
|
@ -0,0 +1,24 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
unstable = import <unstable> {};
|
||||
packages = (with pkgs; [
|
||||
anki
|
||||
discord
|
||||
firefox-devedition
|
||||
krita
|
||||
qbittorrent
|
||||
spotify
|
||||
vlc
|
||||
]) ++ (with unstable; [
|
||||
neovide
|
||||
]);
|
||||
in
|
||||
{
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.kamov = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
packages = packages;
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
}
|
|
@ -79,6 +79,8 @@ return {
|
|||
ensure_installed = {
|
||||
-- neovim
|
||||
'vimdoc', 'lua', 'query', 'fennel',
|
||||
-- nix
|
||||
'nix',
|
||||
-- data
|
||||
'json', 'xml', 'yaml', 'toml',
|
||||
-- markdown
|
||||
|
|
Loading…
Reference in a new issue