Compare commits

...

3 Commits

Author SHA1 Message Date
fcfae78e51 Configuration for enishen 2021-11-20 21:45:35 +02:00
b9a26e1817 Config for desktop 2021-11-20 21:37:25 +02:00
12cd312f38 Rename to omena 2021-11-20 21:25:10 +02:00
5 changed files with 156 additions and 2 deletions

View File

@ -77,11 +77,57 @@
{
programs.home-manager.enable = true;
imports = self.nixosModules ++ [
./macbook/masse.nix
./omena/masse.nix
];
};
};
};
"masse@freya" = home-manager.lib.homeManagerConfiguration {
system = system;
homeDirectory = "/home/masse";
username = "masse";
stateVersion = "21.05";
pkgs = import nixpkgs {
system = system;
overlays = self.overlays ++ [
(final: prev: {
kobodl = inputs.kobodl.packages.${system}.kobodl;
})
];
};
configuration = {pkgs,...}:
{
programs.home-manager.enable = true;
imports = self.nixosModules ++ [
./freya/masse.nix
];
};
};
"enishen@freya" = home-manager.lib.homeManagerConfiguration {
system = system;
homeDirectory = "/home/enishen";
username = "enishen";
stateVersion = "21.05";
pkgs = import nixpkgs {
system = system;
overlays = self.overlays ++ [
(final: prev: {
kobodl = inputs.kobodl.packages.${system}.kobodl;
})
];
};
configuration = {pkgs,...}:
{
programs.home-manager.enable = true;
imports = self.nixosModules ++ [
./freya/enishen.nix
];
};
};
};
};
}

16
freya/enishen.nix Normal file
View File

@ -0,0 +1,16 @@
{lib, pkgs, ...}:
let
in
{
home.packages = with pkgs; [
];
imports = [
];
}

92
freya/masse.nix Normal file
View File

@ -0,0 +1,92 @@
{config, lib, pkgs,...}:
{
programs.command-not-found.enable = true;
home.keyboard.layout = "fi";
home.packages = with pkgs; [
calibre
okular
gimp
inkscape
gwenview
myVim
myEmacs
firefox-bin
];
services.flameshot = {
enable = true;
};
services.syncthing = {
enable = true;
tray = false;
};
services.xcape = {
enable = true;
mapExpression = {
"Hyper_L" = "Tab";
};
};
home.file.".xprofile".text = ''
xmodmap ~/.Xmodmap
'';
services.emacs = {
enable = true;
package = pkgs.myEmacs;
};
home.file.".Xmodmap".text = ''
remove Lock = Caps_Lock
add Lock = Escape
keysym Caps_Lock = Escape
keysym Escape = Caps_Lock
keycode 23 = Hyper_L
keycode 255 = Tab
'';
programs.git = {
enable = true;
userName = "Mats Rauhala";
userEmail = "mats.rauhala@iki.fi";
signing = {
key = "2104943D6033C8F4F7D4F560BDA6DFEDBCFB6779";
};
ignores = [
"env"
"*.swp"
"*.swo"
"*.orig"
"*.crt"
"*.key"
"*.log"
"tags"
"result"
"*.pub"
"*.db"
"*.sqlite"
".projectile"
".dir-locals.el"
];
extraConfig = {
push = {
default = "simple";
};
};
};
programs.ssh = {
enable = true;
# controlMaster = "yes";
# controlPersist = "10m";
forwardAgent = true;
matchBlocks = {
};
};
programs.myZsh.enable = true;
programs.myUrxvt.enable = true;
}