mirror of
https://github.com/larstvei/nix-config.git
synced 2025-09-15 11:30:13 +00:00
Move stuff from thinkpad to nixos
This commit is contained in:
parent
7eb94aec25
commit
5d993d62b1
@ -1,10 +1,3 @@
|
||||
{
|
||||
pkgs,
|
||||
nanostatus,
|
||||
emacs-larstvei,
|
||||
zen-browser,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./keyboard
|
||||
@ -13,39 +6,6 @@
|
||||
../../modules/nixos
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
||||
users.larstvei.imports = [
|
||||
../../modules/home
|
||||
../../modules/desktop
|
||||
];
|
||||
};
|
||||
|
||||
networking.hostName = "larstvei-think";
|
||||
|
||||
users.users.larstvei = {
|
||||
isNormalUser = true;
|
||||
description = "Lars Tveito";
|
||||
home = "/home/larstvei";
|
||||
shell = pkgs.fish;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
|
||||
console.keyMap = "us";
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings.default_session = {
|
||||
command = "hyprland";
|
||||
user = "larstvei";
|
||||
};
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
@ -1,10 +1,49 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
pkgs,
|
||||
nanostatus,
|
||||
emacs-larstvei,
|
||||
zen-browser,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
imports = [
|
||||
../fonts
|
||||
];
|
||||
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
||||
users.larstvei.imports = [
|
||||
../home
|
||||
../desktop
|
||||
];
|
||||
};
|
||||
|
||||
networking.hostName = "larstvei-think";
|
||||
|
||||
users.users.larstvei = {
|
||||
isNormalUser = true;
|
||||
description = "Lars Tveito";
|
||||
home = "/home/larstvei";
|
||||
shell = pkgs.fish;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
|
||||
console.keyMap = "us";
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings.default_session = {
|
||||
command = "hyprland";
|
||||
user = "larstvei";
|
||||
};
|
||||
};
|
||||
|
||||
fonts = {
|
||||
fontconfig = {
|
||||
enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user