mirror of
https://github.com/larstvei/nix-config.git
synced 2025-11-05 07:50:12 +00:00
Compare commits
4 Commits
483f5eadc1
...
f71e57df51
| Author | SHA1 | Date | |
|---|---|---|---|
| f71e57df51 | |||
| 083d2d7ee4 | |||
| 5d993d62b1 | |||
| 7eb94aec25 |
@ -1,10 +1,3 @@
|
|||||||
{
|
|
||||||
pkgs,
|
|
||||||
nanostatus,
|
|
||||||
emacs-larstvei,
|
|
||||||
zen-browser,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./keyboard
|
./keyboard
|
||||||
@ -13,48 +6,11 @@
|
|||||||
../../modules/nixos
|
../../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";
|
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.
|
# Bootloader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
system.stateVersion = "25.05";
|
||||||
# settings for stateful data, like file locations and database versions
|
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
|
||||||
# this value at the release version of the first install of this system.
|
|
||||||
# Before changing this value read the documentation for this option
|
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
|
||||||
system.stateVersion = "25.05"; # Did you read the comment?
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,6 +9,8 @@
|
|||||||
package = pkgs.nix;
|
package = pkgs.nix;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
|
auto-optimise-store = true;
|
||||||
|
|
||||||
experimental-features = [
|
experimental-features = [
|
||||||
"nix-command"
|
"nix-command"
|
||||||
"flakes"
|
"flakes"
|
||||||
|
|||||||
@ -6,13 +6,5 @@
|
|||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
|
|
||||||
# This value determines the Home Manager release that your
|
|
||||||
# configuration is compatible with. This helps avoid breakage
|
|
||||||
# when a new Home Manager release introduces backwards
|
|
||||||
# incompatible changes.
|
|
||||||
#
|
|
||||||
# You can update Home Manager without changing this value. See
|
|
||||||
# the Home Manager release notes for a list of state version
|
|
||||||
# changes in each release.
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,10 +1,47 @@
|
|||||||
{ pkgs, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
nanostatus,
|
||||||
|
emacs-larstvei,
|
||||||
|
zen-browser,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../fonts
|
../fonts
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home-manager = {
|
||||||
|
useGlobalPkgs = true;
|
||||||
|
useUserPackages = true;
|
||||||
|
extraSpecialArgs = { inherit nanostatus emacs-larstvei zen-browser; };
|
||||||
|
users.larstvei.imports = [
|
||||||
|
../home
|
||||||
|
../desktop
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
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 = {
|
fonts = {
|
||||||
fontconfig = {
|
fontconfig = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user