nixos: refactor home
This commit is contained in:
parent
b154030d21
commit
a39e13373b
|
@ -11,6 +11,7 @@ in
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
./nvidia.nix
|
./nvidia.nix
|
||||||
|
./home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
|
@ -82,19 +83,6 @@ in
|
||||||
# Enable touchpad support (enabled default in most desktopManager).
|
# Enable touchpad support (enabled default in most desktopManager).
|
||||||
services.libinput.enable = true;
|
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
|
# Enable unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
@ -130,9 +118,8 @@ in
|
||||||
enableSSHSupport = true;
|
enableSSHSupport = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
steam = {
|
steam.enable = true;
|
||||||
enable = true;
|
fish.enable = true;
|
||||||
};
|
|
||||||
git = {
|
git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
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 = {
|
ensure_installed = {
|
||||||
-- neovim
|
-- neovim
|
||||||
'vimdoc', 'lua', 'query', 'fennel',
|
'vimdoc', 'lua', 'query', 'fennel',
|
||||||
|
-- nix
|
||||||
|
'nix',
|
||||||
-- data
|
-- data
|
||||||
'json', 'xml', 'yaml', 'toml',
|
'json', 'xml', 'yaml', 'toml',
|
||||||
-- markdown
|
-- markdown
|
||||||
|
|
Loading…
Reference in a new issue