mirror of
https://github.com/larstvei/nix-config.git
synced 2026-02-01 08:10:12 +00:00
Compare commits
4 Commits
fc51b84abd
...
41152a4c29
| Author | SHA1 | Date | |
|---|---|---|---|
| 41152a4c29 | |||
| 0b7bb8d875 | |||
| 162899ba10 | |||
| a2d938671c |
@ -18,6 +18,6 @@
|
|||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = { inherit emacs-larstvei; };
|
extraSpecialArgs = { inherit emacs-larstvei; };
|
||||||
users.larstvei.imports = [ ../../modules/home ];
|
users.larstvei.imports = [ ../../modules/home/full ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -6,6 +6,11 @@
|
|||||||
../../modules/nixos
|
../../modules/nixos
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home-manager.users.larstvei.imports = [
|
||||||
|
../../modules/home/full
|
||||||
|
../../modules/desktop
|
||||||
|
];
|
||||||
|
|
||||||
networking.hostName = "larstvei-think";
|
networking.hostName = "larstvei-think";
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|||||||
@ -4,6 +4,11 @@
|
|||||||
../../modules/nixos
|
../../modules/nixos
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home-manager.users.larstvei.imports = [
|
||||||
|
../../modules/home/minimal
|
||||||
|
../../modules/desktop
|
||||||
|
];
|
||||||
|
|
||||||
networking.hostName = "larstvei-vm";
|
networking.hostName = "larstvei-vm";
|
||||||
|
|
||||||
# VM-friendly bits
|
# VM-friendly bits
|
||||||
|
|||||||
@ -1,5 +1,12 @@
|
|||||||
{ pkgs, zen-browser, ... }:
|
{ pkgs, zen-browser, ... }:
|
||||||
{
|
{
|
||||||
|
services.greetd = {
|
||||||
|
enable = true;
|
||||||
|
settings.default_session = {
|
||||||
|
command = "hyprland";
|
||||||
|
user = "larstvei";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.adwaita-icon-theme
|
pkgs.adwaita-icon-theme
|
||||||
|
|||||||
@ -1,9 +1,4 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
|
||||||
../languages
|
|
||||||
../tools
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|||||||
7
modules/home/full/default.nix
Normal file
7
modules/home/full/default.nix
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../languages
|
||||||
|
../../tools
|
||||||
|
];
|
||||||
|
}
|
||||||
13
modules/home/medium/default.nix
Normal file
13
modules/home/medium/default.nix
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../languages/c
|
||||||
|
../../languages/clojure
|
||||||
|
../../languages/nix
|
||||||
|
../../languages/python
|
||||||
|
../../tools/editor
|
||||||
|
../../tools/git
|
||||||
|
../../tools/shell
|
||||||
|
../../tools/utils
|
||||||
|
];
|
||||||
|
}
|
||||||
8
modules/home/minimal/default.nix
Normal file
8
modules/home/minimal/default.nix
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../.
|
||||||
|
../../tools/editor
|
||||||
|
../../tools/git
|
||||||
|
../../tools/shell
|
||||||
|
];
|
||||||
|
}
|
||||||
@ -15,10 +15,6 @@
|
|||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
||||||
users.larstvei.imports = [
|
|
||||||
../home
|
|
||||||
../desktop
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.larstvei = {
|
users.users.larstvei = {
|
||||||
@ -34,14 +30,6 @@
|
|||||||
|
|
||||||
console.keyMap = "us";
|
console.keyMap = "us";
|
||||||
|
|
||||||
services.greetd = {
|
|
||||||
enable = true;
|
|
||||||
settings.default_session = {
|
|
||||||
command = "hyprland";
|
|
||||||
user = "larstvei";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
fonts = {
|
fonts = {
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# zotero
|
zotero
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user